Commit Graph

612 Commits

Author SHA1 Message Date
b8065cfee4 Add tagbar#StopAutoUpdate
This is useful to stop updating information, after using
`tagbar#currenttag` manually/temporarily only.
2018-01-11 17:13:51 +01:00
387bbadda9 Highlight correctly if visibility disabled
The highlight pattern for the current tag didn't account for the fact
that the visibility symbol is optional.

Closes #463
2017-12-17 16:14:51 +13:00
c004652797 Only equalize windows after shrinking app window, closes #452 2017-12-03 16:21:34 +13:00
8d2c44f6ac Merge pull request #458 from ithinuel/master
Rust: fix method kind from F to P for universal-ctags
2017-12-03 15:28:06 +13:00
7f693a0cd4 Rust: fix method kind from F to P 2017-11-20 23:18:28 +01:00
dc155af2fd Merge pull request #451 from mathia4/master
Fixed typo in JavaScript uctags label
2017-10-19 16:40:45 +13:00
af94c07aea Formatting 2017-10-17 21:53:58 -04:00
c86ab1caa6 Update uctags.vim 2017-10-17 21:50:02 -04:00
2261625e29 Merge pull request #450 from natfitz/patch-1
Fix typo in comment
2017-10-18 10:31:50 +13:00
e330124f6e Update tagbar.vim
fix typo
2017-10-17 14:14:14 -07:00
bef1fa4080 Merge pull request #447 from teto/debug
Ease debugging
2017-09-24 18:30:11 +13:00
72416b1c62 Ease debuggin
When debug is enabled
- add verbose flag to ctags
- don't remove temp files
- log the temporary file created
2017-09-23 22:19:26 +09:00
ad0e433674 Add Universal Ctags note to README
Closes #394
2017-09-20 20:33:27 +12:00
fb5b7f61d1 Update README with minimum required Vim version
Closes #442
2017-09-18 21:04:43 +12:00
a9fc0fc46b Log version info at beginning of logfile 2017-09-18 21:04:43 +12:00
2329c95063 Merge pull request #444 from faster-mo/master
fixed encoding bug of balloon
2017-09-18 20:23:01 +12:00
cfabd89c0f fixed encoding bug of balloon 2017-09-18 14:53:48 +08:00
3e417256e8 Clarify project-specific behaviour a bit in docs 2017-09-13 17:59:35 +12:00
460f3c8f2e Use function references in prototypes
This makes it possible to actually see the function names in
stacktraces. It also means that the internal objects of some of the tag
prototypes don't need to be public any more.
2017-09-13 17:48:43 +12:00
d4a08c33e5 Add byte limit for look-behind pattern
The TagbarKind syntax match pattern has a zero-width look-behind atom
with unlimited length. This can slow down syntax highlighting. Since in
this case there can only be 1 or 2 characters that get matched, we can
set a limit for the match, thus speeding up the matching.

Since the limit unfortunately works with bytes instead of characters,
use 3 instead of 2 to account for double-width folding characters.
2017-09-12 13:40:46 +12:00
7299257d77 Fix tag jumping if tag pattern is not actually a pattern
Closes #439
References jstemmer/gotags#31
2017-09-03 20:36:46 +12:00
937354ebb5 Log individual user types being loaded 2017-09-03 20:34:54 +12:00
7e4928c056 Log message when closing Tagbar due to QuitPre 2017-09-03 19:07:10 +12:00
b4643521ff Add support for various types for [u]ctags
Exuberant Ctags:
- ObjectiveC

Universal Ctags:
- Ada
- Autoconf
- Automake
- Ctags config
- D
- Elm (courtesy of @bitterjug)
- Go
- ObjectiveC
- Perl 6
- Protobuf (closes #437)
- R

Also various improvements to existing definitions based on changes in
Universal Ctags.
2017-09-03 19:01:16 +12:00
59ea6d656a Merge branch 'wdv4758h-rust'
Closes #395
Closes #284
2017-08-22 23:45:44 +12:00
c6c88004c7 Add Rust support 2017-08-22 23:45:25 +12:00
817d8a6bee Merge branch 'ruchee-master'
Closes #283
2017-08-22 23:37:36 +12:00
c2af2173b5 Added CSS support with Universal Ctags 2017-08-22 23:36:46 +12:00
83246ed59f Merge branch 'Mr-Oss-master'
Closes #372
2017-08-22 22:43:12 +12:00
c2ae24e7ab Clojure support improvement
Added kinds:

  * namespace
  * definition
  * function
  * private function
  * macro
  * inline
  * multimethod definition
  * multimethod instance
  * definition (once)
  * struct
  * intern
  * namespace
2017-08-22 22:37:24 +12:00
886af9ddc1 Fix Ruby typedef for current uctags, closes #407 2017-08-21 22:57:46 +12:00
da87ee9439 Add missing ftype field to jsctags type def 2017-08-21 09:54:37 +12:00
d4c370cf0e Handle tags that cover multiple scopes correctly
References: #430
2017-08-20 20:07:34 +12:00
02f8a922b1 Remove unused 'j' php kind 2017-08-20 18:08:31 +12:00
bbf15b039a Merge branch 'weirdan-php-scopes' 2017-08-20 18:07:53 +12:00
6e1f1b8c85 Added interface and trait scopes
* Added interface and trait scopes that were missing from the previous
commit.
 * Also restored fold status for classes kind to upstream value.
2017-08-20 17:24:26 +12:00
7ffec4539d Added php scopes and additional kinds
Added scopes, so tagbar will show the following hierarchy:
```
  namespace
    subnamespace
      ...
        class
	  property (variable)
	  ...
	  method
	  ...
```

Additional kinds added (basically the same as #283):
 * namespaces
 * use aliases (imports)
 * traits
2017-08-20 17:24:26 +12:00
f20edb5a56 Rename types autoload directory 2017-08-20 17:11:37 +12:00
877a4a939c Extract debug functionality into separate file 2017-08-20 17:02:36 +12:00
8a1bbcb420 Create kinddict for jsctags type def
Closes #431
Closes #432
2017-08-19 18:14:21 +12:00
fef0732394 Separate {ex,u}ctags definitions out into individual files 2017-08-14 21:18:02 +12:00
2abcbf33f0 Extract prototypes to separate autoload files 2017-08-14 21:18:02 +12:00
d880bcc333 Merge pull request #426 from AdnoC/incrmental-fold-change
Add ability to open or close folds a single level
2017-07-31 20:55:26 +12:00
96275e3921 Reduce code dupication in ChangeFoldLevel 2017-07-30 12:11:31 -04:00
e3732091bf Add ability to open or close folds a single level 2017-07-26 10:18:18 -04:00
f5792732de Escape tag name when removing it from a pseudo tag's scope path 2017-06-15 17:36:38 +12:00
b1c6cbc2d8 Short-circuit parent searches if tag doesn't have line number 2017-06-15 17:36:38 +12:00
41ee79fc0f Escape tag search pattern with \M instead of \V
This follows the Vim manual in |tag-search|, which says that searches
are executed as if 'magic' was off.
2017-06-15 17:36:38 +12:00
b9e7b51ea5 Fix jsctags config, closes #421
This seems to be different for the tern-based jsctags, and the old one
is deprecated anyway.
2017-06-15 17:35:38 +12:00
87a1263f5d Don't try to restore session on 'loadview', closes #382
The view files created with the 'mkview' command run the
'SessionLoadPost' autocommand at the end, which creates problems if
Tagbar has alread been initialized. Add a new variable so that we can
detect this situation.
2017-06-05 17:24:55 +12:00