I have html settings set up in my ~/.vim/ftplugin/html.vim
file. I would like these settings to apply to Rhtml files as well. I made a symbolic link with
ln -s ~/.vim/ftplugin/html.vim ~/.vim/ftplugin/Rhtml.vim
Why doesn't this load my html settings when I open a .Rhtml file?
rhtml.vim
file which usesruntime! ftplugin/html.vim
. Here's an example.runtime! ftplugin/html.vim
idea, but I can't get that to work either. I copied your example to ftplugin/rhtml.vim but it doesn't work. When I open a .Rhtml file, the default vim settings apply. When I tryset ft=html
, the html settings load. What could I be doing wrong?filetype
is set correct? What doesverbose set filetype?
say?:verbose set filetype
as a command from within vim? I getfiletype=
. This means there is no filetype set for my .Rhtml file, right?ftdetect
script? (like this one?)