X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=plugins-noroot.vim;h=d801823df55187a2a65442c23e5fc0746e03f43b;hb=7f03b58f61d8ceb0eb1bb9292c28c93345d88ad1;hp=f88134f6a96e81580aba0dd33a2b8a39f834cbe8;hpb=4b6c4c4c446794b21c44a8ba4a891a925c02b7f4;p=vimconf.git diff --git a/plugins-noroot.vim b/plugins-noroot.vim index f88134f..d801823 100644 --- a/plugins-noroot.vim +++ b/plugins-noroot.vim @@ -49,4 +49,16 @@ function PluginsNorootConfig() " Generally disable gutentags, but enable for some filetypes let g:gutentags_enabled = 0 au FileType c,cpp,objc,tex let g:gutentags_enabled = 1 + " Make manually created tags files also root markers + let g:gutentags_project_root = ['tags'] + let g:gutentags_cache_dir = expand('~/.cache/vim/ctags/') + " Do not automatically generate on browsing + let g:gutentags_generate_on_missing = 0 + let g:gutentags_ctags_exclude_wildignore = 1 + let g:gutentags_ctags_exclude = [ + \'node_modules', '_build', 'build*', 'CMakeFiles', '.*cache*', 'venv', + \'*.md', '*.css', '*.html', '*.json', '*.xml', '*.xmls', '*.ui'] + + " Allow for reflow of bullet paragraphs + let g:vim_markdown_auto_insert_bullets = 0 endfunction