aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-10-18 23:20:15 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-10-18 23:23:14 -0400
commit1e4a9f9993a26a1495d1a3bdfd80fe079127ba83 (patch)
tree7b73ca3f0e717e9740ff77bde4f8d8fa27001719 /runtime
parent6c6abd11f75052d8bbc1a3ff279aab61ed0bca58 (diff)
downloadrneovim-1e4a9f9993a26a1495d1a3bdfd80fe079127ba83.tar.gz
rneovim-1e4a9f9993a26a1495d1a3bdfd80fe079127ba83.tar.bz2
rneovim-1e4a9f9993a26a1495d1a3bdfd80fe079127ba83.zip
vim-patch:8.1.2175: meson files are not recognized
Problem: Meson files are not recognized. Solution: Add the meson filetype. (Liam Beguin , Nirbheek Chauhan, closes vim/vim#5056) Also recognize hollywood. https://github.com/vim/vim/commit/c3bf7b56f2703e2d6f36dfb05fd32b5b43ce3c3f
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 6abf9da55f..bbf9a91e2d 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -975,6 +975,9 @@ au BufNewFile,BufRead hg-editor-*.txt setf hgcommit
" Mercurial config (looks like generic config file)
au BufNewFile,BufRead *.hgrc,*hgrc setf cfg
+" Meson Build system config
+au BufNewFile,BufRead meson.build,meson_options.txt setf meson
+
" Messages (logs mostly)
au BufNewFile,BufRead */log/{auth,cron,daemon,debug,kern,lpr,mail,messages,news/news,syslog,user}{,.log,.err,.info,.warn,.crit,.notice}{,.[0-9]*,-[0-9]*} setf messages