mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 03:23:51 -05:00
22 lines
496 B
VimL
22 lines
496 B
VimL
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 = 'setlocal commentstring<'
|
|
|
|
let &cpoptions = s:cpo_save
|
|
unlet s:cpo_save
|