]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(exports): include simple filetype plugin
authorMatt Perry <matt@mattperry.com>
Thu, 13 Feb 2025 19:45:13 +0000 (20:45 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 13 Feb 2025 19:45:13 +0000 (20:45 +0100)
closes: #16625

Signed-off-by: Matt Perry <matt@mattperry.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
.github/MAINTAINERS
runtime/ftplugin/exports.vim [new file with mode: 0644]

index 9c576fbd1f252e8045f865d65af5a93562a7a344..9372e3310db74fd75bc8efe41f698596181271a3 100644 (file)
@@ -160,6 +160,7 @@ runtime/ftplugin/elixir.vim         @mhanberg
 runtime/ftplugin/erlang.vim            @hcs42
 runtime/ftplugin/eruby.vim             @tpope @dkearns
 runtime/ftplugin/expect.vim            @dkearns
+runtime/ftplugin/exports.vim           @mperry2
 runtime/ftplugin/fennel.vim            @gpanders
 runtime/ftplugin/fetchmail.vim         @dkearns
 runtime/ftplugin/forth.vim             @jkotlinski
diff --git a/runtime/ftplugin/exports.vim b/runtime/ftplugin/exports.vim
new file mode 100644 (file)
index 0000000..92688a4
--- /dev/null
@@ -0,0 +1,14 @@
+" Vim filetype plugin
+" Language:     exports(5) configuration file
+" Maintainer:  Matt Perry <matt@mattperry.com>
+" Last Change: 2025 Feb 13
+
+if exists('b:did_ftplugin')
+  finish
+endif
+let b:did_ftplugin = 1
+
+setlocal comments=:# commentstring=#\ %s
+setlocal formatoptions-=t formatoptions+=croql
+
+let b:undo_ftplugin = 'setl com< cms< fo<'