summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugin/just.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/ftplugin/just.mnv')
-rw-r--r--mnv/runtime/ftplugin/just.mnv17
1 files changed, 17 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/just.mnv b/mnv/runtime/ftplugin/just.mnv
new file mode 100644
index 0000000000..110f183ecc
--- /dev/null
+++ b/mnv/runtime/ftplugin/just.mnv
@@ -0,0 +1,17 @@
+" MNV ftplugin file
+" Language: Justfile
+" Maintainer: Peter Benjamin <@pbnj>
+" Last Change: 2025 Jan 19
+" Credits: The original author, Noah Bogart <https://github.com/NoahTheDuke/mnv-just/>
+
+" Only do this when not done yet for this buffer
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal iskeyword+=-
+setlocal comments=n:#
+setlocal commentstring=#\ %s
+
+let b:undo_ftplugin = "setlocal iskeyword< comments< commentstring<"