aboutsummaryrefslogtreecommitdiffstats
path: root/autoload/xolox/easytags.vim
Commit message (Collapse)AuthorAgeFilesLines
...
* Support for composed file types (issue #28)Peter Odding2013-05-051-9/+24
| | | | | | | Issue #28 on GitHub: problem with composed file types https://github.com/xolox/vim-easytags/issues/28
* Don't try to use dynamic tags files for non-writable directories (issue #29)Peter Odding2013-04-301-1/+8
| | | | | This fixes the problem described here: https://github.com/xolox/vim-easytags/issues/29
* Updated miscellaneous scriptsPeter Odding2013-04-301-3/+3
|
* Updated miscellaneous scriptsPeter Odding2013-04-281-2/+2
|
* Merge pull request #37 (prevent cache corruption by moving before tags write)Peter Odding2013-04-211-5/+8
|\
| * FIX: Prevent cache corruption by moving before tags write.Ingo Karkat2012-11-261-4/+6
| | | | | | | | | | | | A side effect of xolox#easytags#write_tagsfile() is that the entries argument is joined together. This then causes problems in s:cache_tagged_files_in(), where the filename element is addressed via entry[1]. When the entries have been flattened, this accesses a single character, and then the cache is corrupted. To fix this, move the cache update before the writing of the tags file. This avoids the need to make a copy of the entries before flattening them.
* | Bug fix for E688: More targets than List itemsPeter Odding2013-04-211-2/+2
| |
* | Merge pull request #36Peter Odding2013-04-211-3/+3
|\ \
| * | Do not highlight tags on :UpdateTags when it is configured off.Ingo Karkat2012-10-221-1/+1
| |/ | | | | | | I turn off highlighting of tags (:let g:easytags_auto_highlight = 0), because I usually have very large tags databases. When I manually trigger an update via :UpdateTags, the highlighting is processed, though, resulting in the long delay or "regexp too long" error. The :UpdateTags command should honor the configuration setting.
* | Make compatibility with miscellaneous scripts explicitPeter Odding2013-04-201-2/+4
| |
* | Add `ctags-exuberant' to the list of program names (closes issue #39)Peter Odding2013-04-191-2/+2
| |
* | Workaround low 'updatetime' intelligentlyPeter Odding2013-04-191-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should hopefully resolve the following issues and pull requests: #31, #33, #42. I tried several of their suggestions in Vim 7.2 & 7.3 but it didn't work as it should IMHO. All of the issues and pull requests seem to imply that CursorHold events fire continuously when you set a low enough updatetime, but in my testing on Vim 7.2 and 7.3 this is not true. The event fires once, then Vim waits for user input before any new events fire. I'm not sure exactly what user input is required; moving the text cursor is not always enough but mode switching is. So what happens (in my testing) with all of the proposed solutions is that you stop typing for 'updatetime' milliseconds, the event fires, the plug-in simply increments or decrements a counter and then Vim just sits there doing absolutely nothing expect blinking the cursor... What I'm now trying instead is to remember the last time the plug-in was executed (the result of localtime()) and not acting on the CursorHold event until the following condition holds true: localtime() > (last_automatic_run + (easytags_updatetime_min/1000)) I hope this provides a reliable solution. In any case it should be better than the previous annoying behavior :-)
* | Move g:easytags_languages documentation to README.mdPeter Odding2013-04-191-1/+1
| | | | | | | | | | Integration of pull request #40: https://github.com/xolox/vim-easytags/pull/40
* | Merge branch 'enh-languages' of git://github.com/inkarkat/vim-easytags into ↵Peter Odding2013-04-191-27/+49
|\ \ | | | | | | | | | inkarkat-enh-languages
| * | ENH: Allow to specify different ctags tool for particular languages.Ingo Karkat2013-03-071-27/+49
| |/ | | | | | | Implement this via a new configuration option g:easytags_languages, a Dictionary that contains the ctags languages as keys, and corresponding special cmds, args, etc. as values.
* | Minor changes to pull request #43 on GitHub (thank you Ingo :-)Peter Odding2013-04-191-34/+40
| | | | | | | | The pull request: https://github.com/xolox/vim-easytags/pull/43
* | Merge branch 'enh-fingerprint-avoids-update' of ↵Peter Odding2013-04-181-2/+40
|\ \ | | | | | | | | | git://github.com/inkarkat/vim-easytags into inkarkat-enh-fingerprint-avoids-update
| * | BUG: Avoid E713 when attempting fingerprinting without current file.Ingo Karkat2013-04-171-0/+5
| | | | | | | | | | | | When creating a tags file for an entire directory, the a:cfile variable is empty. In that case, the cache doesn't work. Avoid "E713: Cannot use empty key for Dictionary" by checking for that.
| * | ENH: Avoid tag updating when ctags output has identical fingerprint.Ingo Karkat2013-03-281-2/+35
| |/ | | | | | | | | We can avoid the lengthy and blocking update of the tags database when the ctags output returns the same information as before; i.e. nothing tag-relevant has been changed since the last update. Since 7.3.816, Vim has a sha256() function that allows us to quickly calculate a fingerprint over the ctags output. When that is not available, only handle the special case of a (covered) file that has no tags at all (as calculating a hash in Vimscript is costly and would probably defeat the intended speedup).
* / Bug fix for highlighting of function names in shell scriptsPeter Odding2013-04-181-3/+3
|/
* Bug fix for deduplication of syntax highlighting patternsPeter Odding2012-01-151-2/+2
|
* Bug fix: Sort tags files properly by folding to uppercase (issue #25)Peter Odding2012-01-151-3/+9
|
* Fix a slight inefficiency in xolox#easytags#highlight()Peter Odding2012-01-061-4/+5
|
* Updated miscellaneous scriptsPeter Odding2011-11-261-1/+1
|
* Bug fix for file type specific tags file supportPeter Odding2011-11-261-5/+20
| | | | | | | While adding some debugging statements to analyze a probably unrelated issue I found a serious bug in the support for file type specific tags files :-(. This commit fixes the bug and adds more debugging output (which would have made me aware of this problem much sooner).
* Work around &shellslash setting on WindowsPeter Odding2011-11-211-7/+7
|
* Make shell script highlighting compatible with syntax folding (issue #20)Peter Odding2011-10-291-2/+3
|
* Make list of ignored syntax groups configurablePeter Odding2011-10-291-4/+6
| | | | | | | | While trying to fix issue #20 I decided to refactor the code that handles ignored syntax groups: Previously the list of excluded groups was hard coded in two places, now it's a configuration option. Then it turned out that including shFunction* in the list of excluded syntax groups didn't fix the reported issue...
* Bump version + minor updates for Awk, Shell & TCL supportPeter Odding2011-10-011-5/+5
|
* Added support for Awk, Shell and TCL Highlighting.Lorance Stinson2011-10-011-0/+27
|
* Bug fix for error handling in cache_tagged_files()Peter Odding2011-09-271-3/+3
| | | | | | | | | | | | | | | | | | | | | I was editing a file over SCP and after fixing the bug I found out something really peculiar (at least to me). When the 'tags' option instructs Vim to search upwards recursively and you're editing a remote file, Vim's tagfiles() function will pretend as if every possible file exists: :echo tagfiles() ['sftp://vps//home/peter/bin/.tags', 'sftp://vps//home/peter/.tags', 'sftp://vps//home/.tags', 'sftp://vps//.tags', 'sftp://.tags', '/home/peter/.vim/tags/filetypes/sh'] And of course the plug-in doesn't like this: easytags.vim 2.6.1: Skipping unreadable tags file sftp://vps//home/peter/bin/.tags! easytags.vim 2.6.1: Skipping unreadable tags file sftp://vps//home/peter/.tags! easytags.vim 2.6.1: Skipping unreadable tags file sftp://vps//home/.tags! easytags.vim 2.6.1: Skipping unreadable tags file sftp://vps//.tags! easytags.vim 2.6.1: Skipping unreadable tags file sftp://.tags!
* Search the whole $PATH for Exuberant Ctags (issue #18)Peter Odding2011-09-261-1/+1
|
* Updated miscellaneous scriptsPeter Odding2011-09-261-2/+2
|
* New g:easytags_updatetime_autodisable option (issue #17, reported by ↵Peter Odding2011-09-171-5/+20
| | | | Strahinja Marković)
* Improve easytags_dynamic_files implementation (best of both worlds?)Peter Odding2011-09-051-2/+5
| | | | | | | | | Some users want the plug-in to use existing project specific tags files but fall back to the global tags file or a file type specific tags file if a project specific tags file does not exist. Other users want the plug-in to automatically create project specific tags files. Both are reasonable options to have. I hope with this change we can all be happy :-) (see also issue #15 and issue #16 on GitHub).
* Make scope of canonical filename cache explicitPeter Odding2011-09-051-30/+32
| | | | | | | | The code became a bit uglier but it's more robust now. Besides, the code was getting ugly for a while already so what can you do? Rewrite everything! ... For now I'll try to resist the urge, or at least refactor it in small steps :-)
* Bug fix: Correct typo in s:canonicalize()Peter Odding2011-09-051-3/+3
|
* Updated miscellaneous scriptsPeter Odding2011-09-041-1/+1
|
* Write tags files to temporary files, then rename() into place (issue #16)Peter Odding2011-09-041-2/+3
|
* Warn about unreasonable 'updatetime' values (issue #16)Peter Odding2011-09-041-2/+6
|
* Bug fix for "E713: Cannot use empty key for Dictionary" (issue #16)Peter Odding2011-09-041-11/+19
|
* Make "easytags_dynamic_files" create missing tags filesPeter Odding2011-08-311-10/+10
| | | | | Suggested by Strahinja Marković in GitHub issue #15: https://github.com/xolox/vim-easytags/issues/15
* Move version variable to autoload scriptPeter Odding2011-08-271-18/+20
|
* Skip unreadable tags files returned by tagfiles() (reported by Hannes von ↵Peter Odding2011-07-091-5/+9
| | | | Haugwitz)
* Never try to autoload plug-in for unsupported file typesPeter Odding2011-07-091-12/+16
|
* To-do list updatesPeter Odding2011-06-271-5/+7
|
* Support buffer local variants of most optionsPeter Odding2011-06-271-10/+11
|
* Add easytags_auto_update/auto_highlight optionsPeter Odding2011-06-261-17/+21
|
* Finish support for file type specific tags files (+bug fix)Peter Odding2011-06-241-8/+14
| | | | Bug fix: :UpdateTags! didn't work because of a typo
* Tolerate corrupt tags files and ctags output (issue #13)Peter Odding2011-06-241-3/+13
|