summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugin/dockerfile.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/ftplugin/dockerfile.mnv')
-rw-r--r--mnv/runtime/ftplugin/dockerfile.mnv17
1 files changed, 17 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/dockerfile.mnv b/mnv/runtime/ftplugin/dockerfile.mnv
new file mode 100644
index 0000000000..c830f232d1
--- /dev/null
+++ b/mnv/runtime/ftplugin/dockerfile.mnv
@@ -0,0 +1,17 @@
+" MNV filetype plugin
+" Language: Dockerfile
+" Maintainer: Honza Pokorny <http://honza.ca>
+" Last Change: 2025 Feb 21
+
+" Only do this when not done yet for this buffer
+if exists("b:did_ftplugin")
+ finish
+endif
+
+" Don't load another plugin for this buffer
+let b:did_ftplugin = 1
+
+setlocal comments=:#
+setlocal commentstring=#\ %s
+
+let b:undo_ftplugin = "setl comments< commentstring<"