1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Add option for g:tagbar_highlight_method (#709)

* Add option for g:tagbar_highlight_current_tag

Closes #708

Add option for g:tagbar_highlight_current_tag which will allow
highlighting of tags on the current line in addition to highlighting the
scoped tags. Reverts the behavior added in #638 to the default from
before that commit

* Rework to allow direct configuration of highlight method

* Address review comments
This commit is contained in:
raven42
2020-11-13 07:29:07 -06:00
committed by GitHub
parent 6eadc15054
commit 68a77323cb
3 changed files with 52 additions and 5 deletions

View File

@@ -100,6 +100,7 @@ function! s:setup_options() abort
\ ['jump_lazy_scroll', 0],
\ ['left', 0],
\ ['help_visibility', 0],
\ ['highlight_method', 'nearest-stl'],
\ ['position', default_pos],
\ ['previewwin_pos', previewwin_pos],
\ ['scopestrs', {}],