Commit Graph

645 Commits

Author SHA1 Message Date
dab8d99fb8 Print message if no tags have been found in file 2013-08-24 17:57:33 +12:00
a566f7141f Echo message if ctags output is empty 2013-08-24 17:40:12 +12:00
7ef2dd0ef1 Log error messages with ctags output 2013-08-23 18:02:24 +12:00
84d65042fa Remove commented out statusline calls 2013-08-22 19:06:28 +12:00
c37d783d4f Make keybindings configurable, closes #159 2013-08-22 17:38:31 +12:00
7ec151a7a9 Better quickhelp syntax highlighting 2013-08-22 17:01:19 +12:00
e97d2c00ad Simplify option initialization 2013-08-22 13:16:46 +12:00
57acb383b6 Statusline tweaks 2013-08-21 18:28:40 +12:00
495e5fcb08 Allow customizing the statusline 2013-08-21 17:50:03 +12:00
746771801c Log exact shell command for debug 2013-08-21 02:44:31 +12:00
824767bc48 Small debug clarification in docs 2013-08-20 00:40:21 +12:00
57ee79bd4c Mention the wiki in the README 2013-07-30 16:02:35 +12:00
a217435f50 Remove autocmds when not needed, closes #153
When the Tagbar window gets closed and the statusline functionality is
not in use, remove the autocommands to prevent unnecessary ctags calls.
2013-07-30 11:38:46 +12:00
2bacadf716 Merge pull request #157 from mmcclimon/doc_fontchars
Fix for confusing font character example.
2013-07-22 16:29:36 -07:00
e4fda667f9 Fix for confusing font character example. 2013-07-22 11:47:45 -04:00
5732ce9bd6 Simplify sort method 2013-07-17 16:50:02 +12:00
f36e0d3d39 Always correctly show sort order 2013-07-17 16:49:22 +12:00
dacf4f273e Add Tagbar command as alias for TagbarToggle, closes #151 2013-06-25 18:12:25 +12:00
82a932406f Make autoshowtag more flexible, closes #152 2013-06-25 16:33:36 +12:00
2ebd2a1392 Escape quotes in path filters, closes #150 2013-06-03 17:38:02 +12:00
ca02374f40 Merge pull request #147 from zhaocai/master
Export tagbar#currentfile() function
2013-06-02 21:56:10 -07:00
a93fb868d8 Restore windows properly after zooming 2013-05-20 15:18:57 +12:00
070a75cb04 Export tagbar#currentfile() function 2013-05-15 08:00:08 -04:00
24915dbe24 Handle non-existent project autocmds properly, closes #145 2013-05-06 18:49:19 +12:00
f5435678fb Expand deffile path 2013-04-30 10:12:02 +12:00
3ecdb5028d Try to distinguish between equal alternative tags, closes #139 2013-04-29 16:49:17 +12:00
d0d307c9bd Convert remaining call to CreateTypeKinddict(), closes #142 2013-04-26 19:33:00 +12:00
f0f9d66465 Move tests into separate repository 2013-04-24 15:57:22 +12:00
e6e084e8b0 Re-enable BufReadPost event 2013-04-24 12:10:33 +12:00
cde257b1bc Merge branch 'inkarkat-enh-syntax' 2013-04-24 11:33:40 +12:00
54b28e4988 Fix TagbarScope pattern 2013-04-24 11:33:30 +12:00
7c0d8675b5 Make createKinddict() an instance method 2013-04-24 10:45:46 +12:00
acca348959 Allow project-specific type config 2013-04-24 10:45:46 +12:00
1c605bd958 Merge pull request #135 from darcyparker/issue133_ctagsbin
Improved `s:EscapeCtagsCmd()` for windows `cmd.exe` to eliminate issues when `a:ctags_bin` calls a batch file that uses `%~dp0`.
2013-04-23 04:19:09 -07:00
2665695f57 FIX: Avoid matching public / private methods as TagbarKind.
When g:tagbar_iconchars = ['+', '-'] (default on Windows), and viewing a filetype (e.g. java) that has visibility information (i.e. the [-+#] sigils), the method is mistakenly highlighted as TagbarKind. Restrict its matches to when the sigil is at the beginning of the line to avoid the false matches at the indented method tags.
2013-04-12 21:22:27 +02:00
32b5b15b52 FIX: Avoid that the sigils used for highlighting match inside a tag.
When there's a tag e.g. "foo-bar", the "-bar" part is matched as TagbarKind. Add a zero-width condition to all sigil patterns that allow only whitespace characters before the sigil.
2013-04-12 21:14:23 +02:00
87d293206b Simplify conversion of g:tagbar_iconchars into regexp.
With join() and escape(), the steps can be simplified.
2013-04-12 20:48:08 +02:00
93f2b68166 Removed unnecessary | around 'shell' 2013-04-08 09:21:15 -04:00
db9404ca1a Add tests to repository 2013-04-06 00:59:14 +13:00
b6f47e4020 Simplify getusertypes() function 2013-04-05 11:57:57 +13:00
ec0eb883dc Recognize racket as scheme, closes #134 2013-04-04 19:06:42 +13:00
d0df97040b Improved s:EscapeCtagsCmd() for windows cmd.exe to eliminate issues when
a:ctags_bin calls a batch file that uses %~dp0. Changes include:
- Enable ctags_args to be a list
- Changed default ctags_args to be a list to improve robustness of
  s:EscapeCtagsCmd()
- Do not escape 0th argument of ctags_cmd for cmd.exe when it is not
  necessary because otherwise batch files may not return expected value
  for %~dp0
- Updated tagbar documentation about string and list value types for
  ctags_args
See https://github.com/majutsushi/tagbar/issues/133
2013-04-02 17:57:30 -04:00
dec1f840fb Version 2.5 v2.5 2013-03-25 22:27:12 +13:00
11f8479593 Return to the correct window after closing Tagbar, closes #132
Since the window numbers can change when opening and closing windows
Tagbar so far has used bufwinnr() to find the right window to jump back
to. However, this fails if the same file is being displayed in more than
one window. Save a window-local variable instead to detect the correct
window to jump back to.
2013-03-24 14:16:56 +13:00
77a318b10e Don't disrupt the statusline if ctags fails 2013-03-23 19:46:38 +13:00
c1c7d962af Explain ctags bug issues in README.md 2013-03-21 16:30:38 +13:00
aa190a87fa Rename README to README.md 2013-03-21 16:12:08 +13:00
80dfccf09d Don't restore window position if moved manually 2013-03-18 19:09:12 +13:00
be00efa703 Save and restore window position when expanding, closes #129 2013-03-18 18:51:54 +13:00
cc222f5d8c Run ctags even if previous run produced erros, closes #125
If a ctags-compatible program returns an error status code on a parsing
failure then it would never be run again on the same file, even if later
invocations would have returned normally (for example after fixing an
error in the current file). Therefore we need to execute the program on
updates as usual, but do not repeat error messages if the previous run
already did.
2013-02-26 21:56:12 +13:00