-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vim-chef detection gets overruled by vim-ruby #2
Comments
When you run 6: ~/.vim/bundle/vim-ruby/ftdetect/ruby.vim
7: ~/.vim/bundle/vim-chef/ftdetect/chef.vim Also, the vim-chef ftdetect assumes the following directory structure: |
None of the directory structures seem to work. |
I am getting the same issue, here's the output of scriptnames (shortened)
so it does look like it's loaded before and after :| |
I will try to look at this this week. Sorry it's not working for you. Doug Thanks, Doug Ireton On Tue, Jul 8, 2014 at 2:20 PM, Matthew Thode [email protected]
|
Hi Doug I've managed to find a workaround by modifying the vim-ruby bundle. More specific vim-ruby/ftdetect/ruby.vim line 2. With this modification the vim-ruby bundle does not override the ruby.chef |
I was able to work around this by adding this to my .vimrc file: autocmd BufRead,BufNewFile /my/path/to/cookbooks/* set syntax=ruby.chef |
When I open a .rb file it is always detected by vim-ruby as ruby.
Both are loaded using pathogen.
The text was updated successfully, but these errors were encountered: