diff options
author | Guangxiong Lin <[email protected]> | 2022-03-27 10:24:34 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-03-27 10:24:34 +0800 |
commit | 3cc6c3e489d39f6a9df48639e835fbca9f6c2fe4 (patch) | |
tree | 62f8f10762791aef39268689ddfbf58b6039ad49 | |
parent | 624dd0e1708a4bc1a612c071e1cb625a45e97a91 (diff) | |
download | dotfiles-3cc6c3e489d39f6a9df48639e835fbca9f6c2fe4.tar.gz dotfiles-3cc6c3e489d39f6a9df48639e835fbca9f6c2fe4.tar.bz2 dotfiles-3cc6c3e489d39f6a9df48639e835fbca9f6c2fe4.zip |
Refactor airline config (vim)
-rw-r--r-- | .vim/after/plugin/airline.vim | 3 | ||||
-rw-r--r-- | .vim/after/plugin/tagbar.vim | 2 | ||||
-rw-r--r-- | .vim/plugin/gutentags.vim | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/.vim/after/plugin/airline.vim b/.vim/after/plugin/airline.vim index ce3eb77..b94896d 100644 --- a/.vim/after/plugin/airline.vim +++ b/.vim/after/plugin/airline.vim @@ -1,4 +1 @@ let g:airline#extensions#tabline#enabled = 1 -let g:airline#extensions#tagbar#enabled = 1 -let g:airline#extensions#gutentags#enabled = 1 - diff --git a/.vim/after/plugin/tagbar.vim b/.vim/after/plugin/tagbar.vim index 6ed56d8..213aae0 100644 --- a/.vim/after/plugin/tagbar.vim +++ b/.vim/after/plugin/tagbar.vim @@ -1,4 +1,6 @@ let g:tagbar_autoclose = 1 let g:tagbar_autofocus = 1 +let g:airline#extensions#tagbar#enabled = 1 + nnoremap <Leader><space>s :TagbarToggle<CR> diff --git a/.vim/plugin/gutentags.vim b/.vim/plugin/gutentags.vim index 25bfaaf..cab2f3b 100644 --- a/.vim/plugin/gutentags.vim +++ b/.vim/plugin/gutentags.vim @@ -10,6 +10,8 @@ let g:gutentags_define_advanced_commands = 1 let $GTAGSLABEL = 'native-pygments' let $GTAGSCONF = '/usr/local/share/gtags/gtags.conf' +let g:airline#extensions#gutentags#enabled = 1 + let g:gutentags_modules = [] if executable('ctags') let g:gutentags_modules += ['ctags'] |