aboutsummaryrefslogtreecommitdiffstats
path: root/ftdetect
AgeCommit message (Collapse)Author
2017-02-07Create new filetype plugin 'htmlerb'Teddy Wing
I want the HTML matchit command to be available in *.html.erb files. Normally, these files get loaded as `filetype=eruby`. The trouble with that is that not all eruby is HTML, so I can't load the matcher in the 'eruby' filetype because it might not make sense. Create a new special filetype for *.html.erb files that uses the normal eruby syntax, but includes the HTML matchit command.
2015-04-24Add ftdetect/gemfile.vimTeddy Wing
Set Gemfiles to use the `ruby` filetype so that they open with Ruby syntax highlighting automatically. Too much of a pain to `:set ft=ruby` every time.
2014-10-25Add ftdetect/md.vimTeddy Wing
Add an ftdetect file to automatically set Markdown syntax highlighting for files with a .md extension.
2014-05-17Move JSON filetype detection to ftdetect directoryTeddy Wing
To keep things organised, use the .vim/ftdetect directory instead of my vimrc to set the JSON filetype.