summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugin/kdl.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/ftplugin/kdl.mnv')
-rw-r--r--mnv/runtime/ftplugin/kdl.mnv17
1 files changed, 17 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/kdl.mnv b/mnv/runtime/ftplugin/kdl.mnv
new file mode 100644
index 0000000000..6423683ae6
--- /dev/null
+++ b/mnv/runtime/ftplugin/kdl.mnv
@@ -0,0 +1,17 @@
+" MNV filetype plugin
+" Language: KDL
+" Author: Aram Drevekenin <aram@poor.dev>
+" Maintainer: Yinzuo Jiang <jiangyinzuo@foxmail.com>
+" Last Change: 2024-06-10
+
+if exists("b:did_ftplugin")
+ finish
+endif
+
+let b:did_ftplugin = 1
+
+setlocal comments=://
+setlocal commentstring=//\ %s
+setlocal formatoptions-=t
+
+let b:undo_ftplugin = 'setlocal comments< commentstring< formatoptions<'