ludovicchabant / vim-gutentags

A Vim plugin that manages your tag files
https://bolt80.com/gutentags/
MIT License
2.3k stars 175 forks source link

[Unrelated] Does vim-gutentags add an empty file named 1 to root of directory? #268

Closed tkolleh closed 4 years ago

tkolleh commented 4 years ago

After opening a file/directory in neovim, at some point there is an empty file added to the root of the directory with name "1". No file extension. Does vim-gutentags add such a file?

" gutentags and gtags configuration 
let g:gutentags_modules = ['ctags', 'gtags_cscope'] " enable gtags module
" let g:gutentags_add_default_project_roots=0  " Should gutentags define some default project roots?
" let g:gutentags_plus_switch = 1 " change focus to quickfix window after search (optional).

let g:gutentags_project_root = ['.git', '.svn', '.root', '.hg', '.project']
let g:gutentags_ctags_tagfile = '.tags'
" generate datebases in my cache directory, prevent gtags files polluting my project
let s:vim_tags = expand('~/.cache/tags')
let g:gutentags_cache_dir = s:vim_tags
let g:gutentags_ctags_extra_args = ['--fields=+niazS', '--extra=+q', '--c++-kinds=+px', '--c-kinds=+px']
let g:gutentags_trace = 0
let g:gutentags_file_list_command = {
      \  'markers': {
      \    '.git': 'git ls-files',
      \    '.hg': 'hg files',
      \   }
      \}