This commit is contained in:
Adam Stankiewicz
2022-04-18 12:08:27 +02:00
parent aae85fe8c2
commit db7bb8ba22
23 changed files with 478 additions and 112 deletions

21
ftplugin/bicep.vim Normal file
View File

@@ -0,0 +1,21 @@
if polyglot#init#is_disabled(expand('<sfile>:p'), 'bicep', 'ftplugin/bicep.vim')
finish
endif
" bicep.vim - basic bicep integration
" Maintainer: Carl Smedstad <carl.smedstad at protonmail dot com>
if exists('b:did_ftplugin') || v:version < 700 || &compatible
finish
endif
let b:did_ftplugin = 1
let s:cpo_save = &cpoptions
set cpoptions&vim
" Set the commentstring
setlocal commentstring=//%s
let b:undo_ftplugin = ' commentstring<'
let &cpoptions = s:cpo_save
unlet s:cpo_save