Skip to content

mkalinski/vim-lightline_tagbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

lightline_tagbar

Vim plugin providing a function intended as a tab component for lightline.vim.

Wraps a call to the function provided by Tagbar that displays the tag inside which the cursor is currently held.

Usage

let g:lightline = {
\	'component_function': {
\		'tagbar': 'lightline_tagbar#component',
\	},
\	'active': {
\		'right': [
\			['lineinfo'],
\			['percent'],
\			['tagbar', 'fileformat', 'fileencoding', 'filetype'],
\		],
\	},
\}

Configuration

" printf-compatible string that accepts a single value - the name of the tag.
let g:lightline_tagbar#format = '%s'

" Flags argument passed to tagbar#currenttag. See documentation of that
" function for details.
let g:lightline_tagbar#flags = ''

About

lightline.vim component showing the current tag.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published