Vim plugin only works when file is provided as arg to launch command
- by nsfyn55
I am using the plugin java_getset.vim. The issue is that the plugin's commands are only available when I launch vim with the file as an argument.
user@machine~: vim myfile.java
If launch vim and use command-t or NerdTree to open the file in a buffer the plugin's commands are not accessible. All the filetype detection stuff is configured and working(I have syntax highlighting and indentation). The plugin source appears to be written to the letter according the the vim docs for a filetype plugin. Can anyone help me understand what changes a can make so that I can use this plugin in conjunction with Command-t?