<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotvim/ftdetect, branch master</title>
<subtitle>My vim configuration</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/'/>
<entry>
<title>Add ftdetect/lisp.vim</title>
<updated>2021-02-18T23:42:20+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-01-30T15:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=e14d520648e56b99fb72c54fd625c06ba005817e'/>
<id>e14d520648e56b99fb72c54fd625c06ba005817e</id>
<content type='text'>
Detect ASDF *.asd files as Lisp files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Detect ASDF *.asd files as Lisp files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ftdetect/objc.vim</title>
<updated>2021-01-26T20:21:56+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-01-26T20:15:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=282cb829090b986fd6eeec0496a9e0aff0145b7b'/>
<id>282cb829090b986fd6eeec0496a9e0aff0145b7b</id>
<content type='text'>
Manually set `.m` and `.mm` files to Objective C. By default these were
set to `matlab`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Manually set `.m` and `.mm` files to Objective C. By default these were
set to `matlab`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ftdetect/hcss.vim</title>
<updated>2020-07-17T17:52:38+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-17T17:52:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=d8812a2637337fc8bd5e8d352bd3477093c1646e'/>
<id>d8812a2637337fc8bd5e8d352bd3477093c1646e</id>
<content type='text'>
Highlight Hasp files as CSS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Highlight Hasp files as CSS.
</pre>
</div>
</content>
</entry>
<entry>
<title>ftdetect/json.vim: Disable on Vim &lt; 8</title>
<updated>2019-11-18T22:20:31+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2019-11-15T19:00:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=c035f993835f70c2e330ac217416a5d91dc0d352'/>
<id>c035f993835f70c2e330ac217416a5d91dc0d352</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ftdetect/git.vim</title>
<updated>2019-06-01T14:16:30+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2019-06-01T14:10:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=4c2a7db6126725e619d7d849c8212aa81698d597'/>
<id>4c2a7db6126725e619d7d849c8212aa81698d597</id>
<content type='text'>
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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ftdetect/typescript.vim</title>
<updated>2019-05-04T09:08:54+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2019-05-04T09:08:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=7598d1b2986b0879876c627b6c7848cf320c74b5'/>
<id>7598d1b2986b0879876c627b6c7848cf320c74b5</id>
<content type='text'>
Trying out Typescript in a project. Instead of getting a Typescript Vim
plugin, just use the Javascript syntax highlighter for simplicity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Trying out Typescript in a project. Instead of getting a Typescript Vim
plugin, just use the Javascript syntax highlighter for simplicity.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ftdetect/slim.vim</title>
<updated>2017-04-29T06:30:21+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-04-29T06:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=560f38104a004c8169317882099b58f6355f4db3'/>
<id>560f38104a004c8169317882099b58f6355f4db3</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add CoffeeScript ftdetect &amp; ftplugin files</title>
<updated>2017-02-28T10:28:46+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-02-28T10:26:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=902e8ce4a1b88d7eb714f2f3c14d75e1493d81ed'/>
<id>902e8ce4a1b88d7eb714f2f3c14d75e1493d81ed</id>
<content type='text'>
Blech, CoffeeScript! Having to read &amp; write some recently, so add
support for it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Blech, CoffeeScript! Having to read &amp; write some recently, so add
support for it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ftdetect/jbuilder.vim</title>
<updated>2017-02-28T10:22:36+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-02-28T10:22:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=4fd9d7fbc506724e1a66aa85bd3839409dea885e'/>
<id>4fd9d7fbc506724e1a66aa85bd3839409dea885e</id>
<content type='text'>
Load *.jbuilder files as Ruby so that they can be edited like Ruby files
and have Ruby syntax colours.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Load *.jbuilder files as Ruby so that they can be edited like Ruby files
and have Ruby syntax colours.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create new filetype plugin 'htmlerb'</title>
<updated>2017-02-07T15:56:28+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-02-07T15:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=deef4f6d68deb7c3df2505acbfecdfd85529939e'/>
<id>deef4f6d68deb7c3df2505acbfecdfd85529939e</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
