summaryrefslogtreecommitdiffstats
path: root/ftplugin/sxhkdrc.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-03-01 13:44:50 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-03-01 13:44:50 +0100
commitcc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef (patch)
tree260360b1a32ca19635f8c8884b81fcec9ed51168 /ftplugin/sxhkdrc.vim
parent4c10562d2cc9b084518284c49a158558da5180a7 (diff)
downloadvim-polyglot-cc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef.tar.gz
vim-polyglot-cc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef.zip
Update
Diffstat (limited to 'ftplugin/sxhkdrc.vim')
-rw-r--r--ftplugin/sxhkdrc.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/ftplugin/sxhkdrc.vim b/ftplugin/sxhkdrc.vim
index b58baa1f..8b5be981 100644
--- a/ftplugin/sxhkdrc.vim
+++ b/ftplugin/sxhkdrc.vim
@@ -2,4 +2,14 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'sxhkd', 'ftplugin/sxhkdrc.vim
finish
endif
+if exists("b:did_ftplugin")
+ finish
+endif
+
setlocal cms=#%s
+
+if exists('b:undo_ftplugin')
+ let b:undo_ftplugin .= "|setlocal commentstring<"
+else
+ let b:undo_ftplugin = "setlocal commentstring<"
+endif