You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without the "addon-info" filetype being applied to addon-info files, I automatically get filetype json and syntax is correctly highlighted. With filetype automatically set to "addon-info" by vim-addon-manager, I get no syntax highlighting (since there's no syntax/addon-info.vim file anywhere), and many other plugins that pay attention to filetype don't know how to handle the "addon-info" filetype.
Is there an advantage to creating a whole new "addon-info" filetype? Can we either remove that configuration or add a syntax/addon-info.vim file that pulls in syntax/json.vim (and similarly for other filetype plugin files)?
The text was updated successfully, but these errors were encountered:
Ah, I see you are at least setting syntax=json, and my issue there is just that it interferes with vim's hack of calling JSON "javascript":
au BufNewFile,BufRead *.js,*.javascript,*.es,*.jsx,*.json setf javascript
At any rate, just setting an arbitrary filetype name without having any standard configuration defined is a bad experience. The disadvantages of setting an arbitrary "addon-info" filetype are that many settings keep ugly default values that are the filetype maintainer's job to override per-filetype, and plugins like syntastic that pay attention to filetype won't work properly.
Without the "addon-info" filetype being applied to addon-info files, I automatically get filetype json and syntax is correctly highlighted. With filetype automatically set to "addon-info" by vim-addon-manager, I get no syntax highlighting (since there's no syntax/addon-info.vim file anywhere), and many other plugins that pay attention to filetype don't know how to handle the "addon-info" filetype.
Is there an advantage to creating a whole new "addon-info" filetype? Can we either remove that configuration or add a syntax/addon-info.vim file that pulls in syntax/json.vim (and similarly for other filetype plugin files)?
The text was updated successfully, but these errors were encountered: