Tagbar: additional config
* Additional detection for makefiles * Open automatically in some cases
This commit is contained in:
parent
91771083b5
commit
f562aae441
1 changed files with 10 additions and 0 deletions
|
@ -1 +1,11 @@
|
||||||
|
" Extra syntax
|
||||||
|
" Make
|
||||||
|
let g:tagbar_type_make = {
|
||||||
|
\ 'kinds':[
|
||||||
|
\ 'm:macros',
|
||||||
|
\ 't:targets'
|
||||||
|
\ ]
|
||||||
|
\ }
|
||||||
|
|
||||||
nnoremap <silent> <Leader>t :Tagbar<CR>
|
nnoremap <silent> <Leader>t :Tagbar<CR>
|
||||||
|
autocmd VimEnter * if argc() > 0 && &columns > 150 | execute "Tagbar" | endif
|
||||||
|
|
Loading…
Reference in a new issue