[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] vim highlighting for '.mst' files
From: |
Greg Chicares |
Subject: |
[lmi] vim highlighting for '.mst' files |
Date: |
Wed, 25 Oct 2017 14:06:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
Vadim--I've added this:
au BufReadPost,BufNewFile *.mst set ft=ignored
to my ~/.vimrc but I'd like to ask whether you'd recommend some other
built-in 'ft'. (I find no built-in type specifically for mustache, and
it doesn't seem important enough to use a third-party plugin, because
syntax like "{{>" is already clear enough without highlighting.)
I made this change because by default vim uses its "ist" filetype
(which is some LaTeX or troff thing) for *.mst :
" MakeIndex
au BufNewFile,BufRead *.ist,*.mst setf ist
and that caused the common words "actual" and "level" to be highlighted
as "types":
:help group-name
*Type int, long, char, etc.
and that really was distracting.
- [lmi] vim highlighting for '.mst' files,
Greg Chicares <=