summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugin/lf.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/ftplugin/lf.mnv')
-rw-r--r--mnv/runtime/ftplugin/lf.mnv22
1 files changed, 22 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/lf.mnv b/mnv/runtime/ftplugin/lf.mnv
new file mode 100644
index 0000000000..860e58f88a
--- /dev/null
+++ b/mnv/runtime/ftplugin/lf.mnv
@@ -0,0 +1,22 @@
+" MNV filetype plugin file
+" Language: lf file manager configuration file (lfrc)
+" Maintainer: Andis Sprinkis <andis@sprinkis.com>, @CatsDeservePets
+" URL: https://github.com/andis-sprinkis/lf-mnv
+" Last Change: 6 Apr 2025
+
+if exists("b:did_ftplugin") | finish | endif
+
+let b:did_ftplugin = 1
+
+let s:cpo = &cpo
+set cpo&mnv
+
+let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions<"
+
+setlocal comments=:#
+setlocal commentstring=#\ %s
+
+setlocal formatoptions-=t formatoptions+=rol
+
+let &cpo = s:cpo
+unlet s:cpo