summaryrefslogtreecommitdiff
path: root/data/syntax-highlighting/vim/ftplugin/meson.vim
diff options
context:
space:
mode:
Diffstat (limited to 'data/syntax-highlighting/vim/ftplugin/meson.vim')
-rw-r--r--data/syntax-highlighting/vim/ftplugin/meson.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/syntax-highlighting/vim/ftplugin/meson.vim b/data/syntax-highlighting/vim/ftplugin/meson.vim
new file mode 100644
index 000000000..e21b61f3d
--- /dev/null
+++ b/data/syntax-highlighting/vim/ftplugin/meson.vim
@@ -0,0 +1,15 @@
+" 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