Skip to content

easytags_dynamic_files=2 doesn't work as stated (or very confusing) #92

@oryband

Description

@oryband

This is my easytags-related .vimrc:

set tags=./.vimtags;
  1 let g:easytags_file = '~/.vimtags'
  2 let g:easytags_dynamic_files = 2
  3 let g:easytags_by_filetype = 1
  4 let g:easytags_updatetime_warn = 0
  5 let g:easytags_events = ['BufReadPost', 'BufWritePost']
  6
  7 let g:easytags_languages = {
  8             \   'javascript': {
  9             \       'cmd': 'jsctags',
 10             \       'args': [],
 11             \       'fileoutput_opt': '-f',
 12             \       'stdout_opt': '-f-',
 13             \       'recurse_flag': '-R'
 14             \   }
 15             \}

Whenever I open a Python file, save the buffer once, then save it the second time, I get the following error:

easytags.vim 3.6.6: Vim(let):E716: Key not present in Dictionary: tagsfile (at function xolox#easytags#autoload..xolox#easytags#update..xolox#easytags#update#with_vim, line 12)

Any idea what I'm doing wrong? Easytags docs aren't clear about how to use dynamic_files=2 option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions