aboutsummaryrefslogtreecommitdiffstats
path: root/ftdetect
AgeCommit message (Collapse)Author
2021-02-19Add ftdetect/lisp.vimTeddy Wing
Detect ASDF *.asd files as Lisp files.
2021-01-26Add ftdetect/objc.vimTeddy Wing
Manually set `.m` and `.mm` files to Objective C. By default these were set to `matlab`.
2020-07-17Add ftdetect/hcss.vimTeddy Wing
Highlight Hasp files as CSS.
2019-11-18ftdetect/json.vim: Disable on Vim < 8Teddy Wing
Recent Vims have a built-in JSON syntax plugin which is a little easier to read than the JavaScript highlighting. Use the built-in one on Vim 8 and higher.
2019-06-01Add ftdetect/git.vimTeddy Wing
Copy one of the Git file detectors from `/usr/local/share/vim/vim74/filetype.vim`. This gives me `gitcommit` filetype features for merge and tag messages even when using a Vim older than 7.4 (Vim 7.3, the default on many Macs, only sets COMMIT_EDITMSG to the `gitcommit` filetype). Additionally, set `gitcommit` on `PULLREQ_EDITMSG` files. This gives me the same features for pull request messages using GitHub's `hub` command line tool (in particular spell checking).
2019-05-04Add ftdetect/typescript.vimTeddy Wing
Trying out Typescript in a project. Instead of getting a Typescript Vim plugin, just use the Javascript syntax highlighter for simplicity.
2017-04-29Add ftdetect/slim.vimTeddy Wing
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.
2017-02-28Add CoffeeScript ftdetect & ftplugin filesTeddy Wing
Blech, CoffeeScript! Having to read & write some recently, so add support for it.
2017-02-28Add ftdetect/jbuilder.vimTeddy Wing
Load *.jbuilder files as Ruby so that they can be edited like Ruby files and have Ruby syntax colours.
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.