From db7bb8ba22f5798bf3abe9f786bc6e6d002725f8 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 18 Apr 2022 12:08:27 +0200 Subject: Update --- ftplugin/bicep.vim | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ftplugin/bicep.vim (limited to 'ftplugin/bicep.vim') diff --git a/ftplugin/bicep.vim b/ftplugin/bicep.vim new file mode 100644 index 00000000..112c429e --- /dev/null +++ b/ftplugin/bicep.vim @@ -0,0 +1,21 @@ +if polyglot#init#is_disabled(expand(':p'), 'bicep', 'ftplugin/bicep.vim') + finish +endif + +" bicep.vim - basic bicep integration +" Maintainer: Carl Smedstad + +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 -- cgit v1.2.3