Commit Graph

835 Commits

Author SHA1 Message Date
EinfachToll
7e87e92954 Move tags-related functions to extra file
also rename some functions from vimwiki#tags#bla() to s:bla()
2015-02-23 11:29:02 +01:00
EinfachToll
8055ef8608 Fix highlighting of tags
in some circumstances, e.g.

- :Tag:

the tag wasn't highlighted. Don't know why.
2015-02-16 12:53:32 +01:00
Ivan Tishchenko
7bc2fcb3a7 Merge remote-tracking branch 'vimwiki/dev' into 'vimwiki/tags'
Conflicts:
	doc/vimwiki.txt
	ftplugin/vimwiki.vim
2015-02-12 22:20:16 +03:00
EinfachToll
3a39498604 Add .gitignore 2015-02-10 13:46:44 +01:00
EinfachToll
df5e49c7fd Fix completion in some circumstances 2015-02-09 21:56:28 +01:00
EinfachToll
ac4f66586a col('.') inside the omnicompletion function returns garbage
so use a workaround
2015-02-09 21:40:17 +01:00
EinfachToll
41bce9ae42 Remove apparently unused function 2015-02-09 21:06:04 +01:00
EinfachToll
e4de62b7d5 turn all =~ into =~# or =~?; !~ analogically 2015-02-09 20:58:05 +01:00
EinfachToll
6716ba709f turn all != into !=# or !=? when comparing strings 2015-02-09 20:24:18 +01:00
EinfachToll
9ada4d2041 turn all == into ==# or ==? when comparing strings
or vimwiki#path#is_equal, if the strings are file names
2015-02-09 20:05:25 +01:00
EinfachToll
b240b52a3f Small fix for #112
Ref #111
2015-02-09 09:20:30 +01:00
EinfachToll
bf1eb62c32 Merge pull request #112 from t7ko/completion-fix-issue111
Use case sensitive/insensitive path comparison depending on the OS
2015-02-09 09:18:21 +01:00
EinfachToll
827b3a8974 Unify yes/no question 2015-02-07 22:12:32 +01:00
Ivan Tishchenko
68b82a15c6 Adjust case sensitivity of path comparison depending on the OS 2015-02-07 01:50:04 +03:00
Ivan Tishchenko
42f427e718 Fix issue with tags completion not working right after the colon 2015-02-05 00:05:04 +03:00
Ivan
13bdb43a54 Merge pull request #113 from t7ko/auto-cd
Option to enable auto-change-dir when opening a wiki index page with <Leader>ww
2015-02-04 23:58:04 +03:00
EinfachToll
e34e160a34 Merge pull request #104 from t7ko/autoload-fix
Don't source base.vim at Vim startup
2015-02-04 14:36:23 +01:00
EinfachToll
3d3586417d Remove an option that is written but never read 2015-02-03 13:53:56 +01:00
Ivan Tishchenko
10293f60d7 Use case insensitive path comparison for vimwiki#path#relpath() 2015-02-03 13:34:07 +04:00
Ivan Tishchenko
556f686431 Make VimwikiGetKnownExtensions into script-local function s:vimwiki_get_known_extensions 2015-02-02 22:07:17 +03:00
EinfachToll
de11957fca Use script local variable instead of buffer local 2015-02-02 10:35:32 +01:00
Ivan Tishchenko
d2ff96717e Encapsulate tag path into a function; expand paths in it to make them absolute 2015-01-29 13:48:15 +04:00
Ivan Tishchenko
be9667cfa6 Documented the fix in ChangeLog 2015-01-24 10:55:22 +03:00
Ivan Tishchenko
0511b51a5f Implement auto-chdir option 2015-01-24 10:49:20 +03:00
Ivan Tishchenko
17cfd6e613 Modify patterns and code -- tag colons must be either at line boundary, or surrounded with white spaces 2015-01-23 23:13:27 +03:00
Ivan Tishchenko
f5e1cbe721 Move get-known-sytaxes back into base.vim 2015-01-23 22:41:36 +03:00
EinfachToll
13e76aed2e <CR> to create a link ignores most punctuation characters now
Fix #99
2015-01-14 13:34:33 +01:00
EinfachToll
43cad87426 Merge pull request #106 from t7ko/get_anchors-bugfix
Bold anchors were duplicated in get_anchors() results
2015-01-12 10:06:09 +01:00
EinfachToll
8f24644967 Remove unused function parameter 2015-01-12 09:34:59 +01:00
EinfachToll
918b07342d Add default values to some options like the doc says
Fix #102
2015-01-12 09:32:05 +01:00
EinfachToll
22ab2bfd9b Merge pull request #103 from t7ko/misprint-fix
Fix misprint in documentation
2015-01-12 09:09:11 +01:00
Ivan Tishchenko
b912e4e3c7 Update :VimikiGenerateTags -- use tags as anchors in links 2015-01-10 17:10:18 +03:00
Ivan Tishchenko
d72ef4dd70 Treat tags as anchors (wikilink completion, jumping to) 2015-01-10 16:39:11 +03:00
Ivan Tishchenko
28af35bcfe Fix collecting anchors -- bold anchors were added to the list twice 2015-01-10 16:12:40 +03:00
Ivan Tishchenko
b99a3dc988 Convert file format to CTAGS. Update docs 2015-01-10 01:44:25 +03:00
Ivan Tishchenko
8a0433dec5 Fix error 'metadata file not found' when tag functions are called first time 2015-01-10 00:51:37 +03:00
Ivan Tishchenko
66626ad415 Move two helper functions to plugin file out of autoload. Plugin would have called them at startup anyway, defeating the whole purpose of autoload file. 2015-01-10 00:23:21 +03:00
Ivan Tishchenko
e6f6fdd359 Mention tags in ChangeLog 2015-01-10 00:06:02 +03:00
Ivan Tishchenko
e44b188a49 :VimwikiGenerateTags 2015-01-10 00:05:58 +03:00
Ivan Tishchenko
a62bebceb2 Implement :VimwikiSearchTags to look up tag instances in a wiki 2015-01-10 00:05:11 +03:00
Ivan Tishchenko
df91772d7e Implement :VimwikiRebuildTags to rebuild metadata for all pages in current wiki 2015-01-10 00:01:18 +03:00
Ivan Tishchenko
4f639cebee Syntax definitions 2015-01-10 00:01:15 +03:00
Ivan Tishchenko
a01290160c Support for omni completion of tags 2015-01-10 00:01:12 +03:00
Ivan Tishchenko
c7436a44cf Reading metadata file; filtering by page name 2015-01-10 00:01:09 +03:00
Ivan Tishchenko
6cafc97c9c Implement saving metadata to file 2015-01-10 00:01:05 +03:00
Ivan Tishchenko
2d0616343d Implemented tags scan function (go over range of lines and compose list of tag entries and their metadata 2015-01-10 00:00:57 +03:00
Ivan Tishchenko
19cc1b873a Added placeholders for tags on-page-save analysis 2015-01-10 00:00:53 +03:00
Ivan Tishchenko
7f5e517162 Default value for auto-tags option 2015-01-10 00:00:49 +03:00
Ivan Tishchenko
91b73c2aac Basic documentation 2015-01-10 00:00:26 +03:00
Ivan Tishchenko
37dafcf8c7 Fix misprint in documentation 2015-01-09 23:36:42 +03:00