vimrc: extended gutentags options
This commit is contained in:
parent
a902ca8c94
commit
b5a63a1d3c
1 changed files with 39 additions and 0 deletions
39
.vimrc
39
.vimrc
|
@ -46,6 +46,45 @@ let g:airline#extensions#tabline#enabled = 1
|
|||
let g:deoplete#enable_at_startup = 1
|
||||
let g:deoplete#sources#clang#libclang_path = '/usr/lib/llvm-default/lib/libclang.so.1'
|
||||
let g:deoplete#sources#clang#clang_header = '/usr/lib/llvm-default/lib/clang/default/include'
|
||||
let g:gutentags_generate_on_new = 1
|
||||
let g:gutentags_generate_on_missing = 1
|
||||
let g:gutentags_generate_on_write = 1
|
||||
let g:gutentags_generate_on_empty_buffer = 0
|
||||
"let g:gutentags_cache_dir = expand('~/.cache/neovim/gutentags')
|
||||
let g:gutentags_ctags_extra_args = [
|
||||
\ '--tag-relative=yes',
|
||||
\ '--quiet=yes',
|
||||
\ '--c++-kinds=+UA',
|
||||
\ '--fields=+SailmnKz',
|
||||
\ '--extras=+qf',
|
||||
\ '--exclude=@.gitignore',
|
||||
\ ]
|
||||
|
||||
let g:gutentags_ctags_exclude = [
|
||||
\ '*-lock.json',
|
||||
\ '*.bak',
|
||||
\ '*.cache',
|
||||
\ '*.hg',
|
||||
\ '*.lock',
|
||||
\ '*.map',
|
||||
\ '*.tmp',
|
||||
\ '*/tests/*',
|
||||
\ '.git',
|
||||
\ '.tags*',
|
||||
\ 'CMakeCache.txt',
|
||||
\ 'CMakeFiles',
|
||||
\ 'CMakeLists.txt.user',
|
||||
\ 'CMakeScripts',
|
||||
\ 'CTestTestfile.cmake',
|
||||
\ 'Makefile',
|
||||
\ 'Testing',
|
||||
\ 'cmake_install.cmake',
|
||||
\ 'compile_commands.json',
|
||||
\ 'docs',
|
||||
\ 'install_manifest.txt',
|
||||
\ 'bin',
|
||||
\ 'build',
|
||||
\ ]
|
||||
call deoplete#custom#var('omni', 'functions', {'lua': 'xolox#lua#omnifunc',})
|
||||
set encoding=utf-8
|
||||
set icon
|
||||
|
|
Loading…
Reference in a new issue