Open still-dreaming-1 opened 8 years ago
On a related note, if I run :UpdateTags manually, files outside the home vim config directory will have tags created for them. But the options are being ignored, and they are only getting created in the global tags file, even though I am using these options, and I created a blank tags file for it to use for specific projects:
set tags=./tags
let g:easytags_async = 1
let g:easytags_dynamic_files = 1
Ok, so as you can see in the code above, I was missing a semicolon at the end of the set tags= line. Now that this is fixed, things are a little better, but still not working right. Sometimes tags are saved in the project tags file, sometimes they are saved in the global tags file, but syntax highlighting does not work. I also have this in my config:
let g:easytags_events = ['BufWritePost']
After creating a file and class, even though tags are working, syntax highlighting is not. After saving once, syntax highlighting is still not working, but after saving a second time it starts working. But at that point, the project tags file which used to have lots of useful tags in it, now only has tags generated from parsing that one file.
I'm still learning how to use this, but so far I can note that it is not working as described. According to the installation instructions:
But instead of doing that, it is only creating tags for files under my config directory.