summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2023-11-11 09:12:27 +0100
committerChristian Brabandt <cb@256bit.org>2023-11-11 09:12:27 +0100
commit4f9074b96cc7efb1c829ca74902a851551dcf4e8 (patch)
treedf38ccfdca9b0a7b855e8c65a1807e0bd72efc65 /runtime/ftplugin
parentbee966d3fe96f20656183d260dd03f6abb11ad79 (diff)
patch 9.0.2098: No filetype support for xcompose filesv9.0.2098
Problem: No filetype support for xcompose files Solution: Add filetype detection closes: #13508 Signed-off-by: ObserverOfTime <chronobserver@disroot.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/xcompose.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/xcompose.vim b/runtime/ftplugin/xcompose.vim
new file mode 100644
index 0000000000..7345c27a2e
--- /dev/null
+++ b/runtime/ftplugin/xcompose.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin file
+" Language: XCompose
+" Maintainer: ObserverOfTime <chronobserver@disroot.org
+" Last Change: 2023 Nov 09
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setl comments=:# commentstring=#\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'