summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-18 22:09:34 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-18 22:09:34 +0200
commitc3bf7b56f2703e2d6f36dfb05fd32b5b43ce3c3f (patch)
treeb631eef38014ef0c64d84effff6578873d02f42b /runtime
parent89577b3b3e559d6ed8467b8e756f86f9f9607cae (diff)
patch 8.1.2175: meson files are not recognizedv8.1.2175
Problem: Meson files are not recognized. Solution: Add the meson filetype. (Liam Beguin , Nirbheek Chauhan, closes #5056) Also recognize hollywood.
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 9af37ad2a8..a27dc41953 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -979,6 +979,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