Commit Graph

817 Commits

Author SHA1 Message Date
55f3513d10 Merge pull request #669 from joshfrench/add-typescript-mappings
Add typescript mappings for universal ctags
2020-10-01 15:58:08 -05:00
5fc8a7a209 enumerators -> enumerations 2020-10-01 16:52:36 -04:00
edb5d15f4d Add typescript mappings for universal ctags 2020-10-01 16:03:37 -04:00
a1e0e7a571 Hide signcolumn in tagbar window (#666) 2020-09-29 13:01:42 +03:00
98efae9899 vim 7.4 compatibility for variable init (#665) 2020-09-28 22:33:07 +03:00
6099093050 Merge pull request #656 from raven42/large-file-handling
Add option to not trigger update on large files
2020-09-23 12:17:50 -05:00
9e2e5d93b4 Merge branch 'master' into large-file-handling 2020-09-23 11:47:24 -05:00
64730d27a9 Added fsize calculation in fileinfo so better tracking can be used to display in tagbar window 2020-09-23 11:45:02 -05:00
259b47a691 Fix vimscript snafu from #660, closes #662 2020-09-23 17:09:39 +03:00
8d17340295 Add g:tagbar_visibility_symbols (#660) 2020-09-23 13:43:05 +03:00
5339b4e8bd Add g:tagbar_scopestrs (#661)
Allows mapping scope suffixes (e.g. 'function') to user-defined values.
2020-09-23 13:02:34 +03:00
1caa71aca3 Merge pull request #659 from raven42/line-wrap
Fix for #647: Add g:tagbar_wrap option
2020-09-21 10:09:18 -05:00
88be6d9a4c Fix syntax in example text for new option 2020-09-21 08:25:57 -05:00
22df1b87af Fix for #647: Add g:tagbar_wrap option 2020-09-21 08:24:01 -05:00
6cb336d014 Update variable name 2020-09-16 12:17:21 -05:00
14a86de04b Update to use file size instead of line count 2020-09-16 12:15:48 -05:00
be67ff7ae7 Add option to not trigger update on large files 2020-09-14 15:15:39 -05:00
30fb229937 Update URLs to reflect repository migration (Closes #651) 2020-09-13 10:22:09 +03:00
e1c2c98922 Fixes #650 Correct window positioning defaults (#652)
* Fix for window positioning
With default case having multiple vertically split windows, the tagbar
window should open on the far right of the screen. When the feature in
pull-request 630 was added, this behavior changed to open the tagbar
window relative to the current window. This commit will fix that by
allowing direct usage of the vim split options.

Validated the following cases for the old default values. These all
still behave the same way as prior to pull-request 630 when the tagbar
is activated in the `active` window shown in the below examples:
```
	" No options
	+-----------------------------------+
	| preview                           |
	+--------+--------+--------+--------+
	| edit   | edit   | edit   | tagbar |
	|        | active |        |        |
	+--------+--------+--------+--------+

	" tagbar on left, preview above
	let g:tagbar_left = 1
	+-----------------------------------+
	| preview                           |
	+--------+--------+--------+--------+
	| tagbar | edit   | edit   | edit   |
	|        |        | active |        |
	+--------+--------+--------+--------+

	" tagbar on bottom, preview to right of tagbar
	let g:tagbar_vertical = 10
	+--------+---------------+--------+
	| edit   | edit          | edit   |
	|        | active        |        |
	|        +-----+---------+        |
	|        | tag | preview |        |
	+--------+-----+---------+--------+

	" tagbar on top, preview to the right of tagbar
	let g:tagbar_left = 1
	let g:tagbar_vertical = 10
	+--------+-----+---------+--------+
	| edit   | tag | preview | edit   |
	|        +-----+---------+        |
	|        | edit          |        |
	|        | active        |        |
	+--------+---------------+--------+

```

New values also all validated using the following:
```
" Behaves the same as no options
let g:tagbar_position = 'right'

" Behaves the same as g:tagbar_left = 1
let g:tagbar_position = 'left'

" Behaves the same as g:tagbar_vertical = <#>
let g:tagbar_position = 'bottom'

" Behaves the same as g:tagbar_left = 1 | g:tagbar_vertical = <#>
let g:tagbar_position = 'top'
```

* #650 - Fix typo in doc/tagbar.txt for g:tagbar_height option
2020-09-01 16:59:16 +03:00
e5c864738d Fix issue with jumping to a tag with special characters (#649)
In C++, the name of the destructor of a class starts with a
tidle(~) which is special when the option 'magic' is set. This
will cause an error when jumping to a destructor. Call search()
in "very nomagic" environment can solve this problem no matter the
option 'magic' is set or not.
2020-08-29 17:59:53 +03:00
7dddde55b4 feat(dart_ctags): add inheritance tags 2020-08-27 09:54:54 +02:00
5e27cdb70b feat(dart_ctags): create scope for imports for dart, pub. local package
tags
2020-08-26 21:55:51 +02:00
78c1612106 refactor(dart_ctags): improve tag order 2020-08-26 20:26:13 +02:00
29e3cef248 Merge branch 'master' into dart-ctags 2020-08-26 20:18:52 +02:00
183300ea3a feat(dart_ctags): add tag for mixins 2020-08-26 20:16:37 +02:00
40413d8760 Add user facing function to get tag near line number (#643) 2020-08-26 12:18:05 +03:00
600fb4255f Correct last contribution that contained an syntax error (#639) 2020-08-26 12:16:59 +03:00
86b268471b Fix --file-scope option warning (#648) 2020-08-26 12:14:15 +03:00
bcc32b42b5 Fix has_key() parameters in currenttagtype function. (#645) 2020-08-24 11:23:17 +03:00
a81c01c294 Fix maximized state track on close (#642) 2020-08-17 08:33:00 +03:00
f52dadd162 feat(dart_ctags): add tags for enum, export, library, part, and part of 2020-08-05 21:42:02 +02:00
a5090717dd Add function tabgar:Update() to manually trigger AutoUpdate() (#633)
Co-authored-by: David Hegland <david.hegland@broadcom.com>
2020-08-03 15:30:13 +03:00
88bdb86325 Remove debug statement left in 4e7e199 causing screen flicker (#634) 2020-08-03 12:13:03 +03:00
3fe9d8e13b Check for existence of key in dictionary before using it (#631) 2020-07-30 20:36:07 +03:00
5bb0ef3576 Add more flexible options for window positioning (#630)
New configuration option for g:tagbar_position that will supercede g:tagbar_left. This option allows for new values for 'top', 'bottom', 'left' and 'right' (default:'right') to position the Tagbar window.

New configuration option for g:tagbar_height that will supercede g:tagbar_vertical. This option is used to set the Tagbar window height when the window is split using the 'top' or 'bottom' position.

New configuration option for g:tagbar_no_status_line. This option will disable any Tagbar status line updates in the event another plugin is controlling the status line. This prevents Tagbar from changing the status line when Tagbar is not the active window.

Co-authored-by: David Hegland <david.hegland@broadcom.com>
2020-07-29 21:18:17 +03:00
d7063c7484 Reset window after jump to tag if zoomed (#625) 2020-06-25 00:01:58 +03:00
56399f446c Document extra languages supported by universal-ctags (#621)
Co-authored-by: Caleb Maclennan <caleb@alerque.com>
2020-06-12 00:04:31 +03:00
fcabc99ca6 Add link to docs and how to open docs in README.md (#619)
Co-authored-by: Caleb Maclennan <caleb@alerque.com>
2020-06-06 16:36:02 +03:00
a36880be22 Prevent temporary window creation on Windows (#611)
Co-authored-by: skywind3000 <skywind3000@163.com>
Co-authored-by: Caleb Maclennan <caleb@alerque.com>
2020-05-30 11:51:45 +03:00
f1bea00e5b Merge pull request #610 from majutsushi/no-cache 2020-05-29 22:42:31 +03:00
e8d127bf40 Catch error message from u/e ctags variants
Co-authored-by: Steven Engler <sengler@uwaterloo.ca>
2020-05-29 21:56:48 +03:00
92752b89ce Add option to disable use of tmp file cache 2020-05-29 21:02:31 +03:00
2a1486447a Play nicely with popup windows (#604) 2020-05-05 15:47:01 +03:00
1e50ea8536 Fix license link in readme file (#599) 2020-04-24 18:37:42 +03:00
679a9d9ac9 Block ProcessFile from processing unloaded or nonexistant buffers (#589) 2020-01-23 18:06:44 +02:00
6dafb3dfe8 Merge pull request #308 from gryf/show_tag_kind2
Additional function for displaying type of a current tag.
2020-01-17 13:59:59 +02:00
f3b76f9832 Fix for embedded interfaces 2020-01-17 10:27:11 +01:00
175f5053a1 Add package to singular_types dict to make it work for Golang 2020-01-17 10:27:11 +01:00
d864a44a3d Additional function for displaying type of a current tag.
Introducing small function for displaying type (kind) of a current tag.
Useful for putting it in the status bar.
2020-01-17 10:26:47 +01:00
db6f884fc7 Update information amout contributors 2020-01-16 13:18:53 +03:00