summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-03-04 10:29:18 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-03-04 10:29:18 +0100
commitefa1a55dc7bee05e67da8830732bf9b70f3a3b19 (patch)
treeff8dab5cc47ef8b7c82ebeb30e2768d2a601f20e /ftplugin
parent63922a1d1ea22c58be758d188068f33491411c0c (diff)
downloadvim-polyglot-efa1a55dc7bee05e67da8830732bf9b70f3a3b19.tar.gz
vim-polyglot-efa1a55dc7bee05e67da8830732bf9b70f3a3b19.zip
Add meson support
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/meson.vim19
1 files changed, 19 insertions, 0 deletions
diff --git a/ftplugin/meson.vim b/ftplugin/meson.vim
new file mode 100644
index 00000000..870f0052
--- /dev/null
+++ b/ftplugin/meson.vim
@@ -0,0 +1,19 @@
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'meson') != -1
+ finish
+endif
+
+" Vim filetype plugin file
+" Language: meson
+" Original Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
+" Last Change: 2018 Nov 27
+
+if exists("b:did_ftplugin") | finish | endif
+let b:did_ftplugin = 1
+let s:keepcpo= &cpo
+set cpo&vim
+
+setlocal shiftwidth=2
+setlocal softtabstop=2
+
+let &cpo = s:keepcpo
+unlet s:keepcpo