Age | Commit message (Collapse) | Author |
|
Working on a Rails project that uses Slim templates. Looks like we have
HAML syntax highlighting built-in, so just use that to highlight Slim
files.
|
|
Blech, CoffeeScript! Having to read & write some recently, so add
support for it.
|
|
Load *.jbuilder files as Ruby so that they can be edited like Ruby files
and have Ruby syntax colours.
|
|
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.
|
|
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.
|
|
Add an ftdetect file to automatically set Markdown syntax highlighting
for files with a .md extension.
|
|
To keep things organised, use the .vim/ftdetect directory instead of my
vimrc to set the JSON filetype.
|