1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-18 20:10:27 +01:00

Scoped Highlighting (#683)

* Scoped highlighting fix
Attempt to change the scoped highlighting of the tagbar window. This
will now look only for 'stl' tag types when looking for the nearby tag
when looking to highlight. It does however take into account if the
cursor is on the same line as the tag and highlights it then as well.

* Add additional documentation

* Add documentation for tagbar#printfileinfo() debug routine
This commit is contained in:
raven42
2020-10-26 10:19:14 -05:00
committed by GitHub
parent 2a9270cb24
commit bc48b8b84b
3 changed files with 79 additions and 12 deletions

View File

@@ -12,6 +12,9 @@ function! tagbar#prototypes#fileinfo#new(fname, ftype, typeinfo) abort
" Get file size
let newobj.fsize = getfsize(a:fname)
" Get the number of lines in the file
let newobj.lnum = line('$')
" The vim file type
let newobj.ftype = a:ftype