diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-10-07 20:04:09 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-11-26 13:00:56 -0500 |
commit | ce09c5bb8c74072837dcc51a64b846bd9051ff9e (patch) | |
tree | 87d2cea77617f0943ad5cb8534c81fc7ff15e0b7 /syntax-highlighting/vim/ftdetect | |
parent | a32716f9fead988df150037b262ccceb24d8dc9e (diff) | |
download | meson-ce09c5bb8c74072837dcc51a64b846bd9051ff9e.zip meson-ce09c5bb8c74072837dcc51a64b846bd9051ff9e.tar.gz meson-ce09c5bb8c74072837dcc51a64b846bd9051ff9e.tar.bz2 |
Add basic syntax and indentation files for ViM
The syntax file does syntax highlighting for numbers, string literals,
comments, etc. Also maintains a list of valid function names.
The plugin does auto-indentation for Meson with two spaces by default.
TODO: explicit errors for decimal numbers (right now, it's just
unhighlighted), check kwargs, default options, etc.
Diffstat (limited to 'syntax-highlighting/vim/ftdetect')
-rw-r--r-- | syntax-highlighting/vim/ftdetect/meson.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax-highlighting/vim/ftdetect/meson.vim b/syntax-highlighting/vim/ftdetect/meson.vim new file mode 100644 index 0000000..84db70c --- /dev/null +++ b/syntax-highlighting/vim/ftdetect/meson.vim @@ -0,0 +1,2 @@ +au BufNewFile,BufRead meson.build set filetype=meson +au BufNewFile,BufRead meson_options.txt set filetype=meson |