vim-polyglot/ftplugin/meson.vim

20 lines
424 B
VimL
Raw Normal View History

2019-03-04 04:29:18 -05:00
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