aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-14 20:48:39 +0800
committerGitHub <noreply@github.com>2025-02-14 20:48:39 +0800
commitdc33879dc2b2e855af1f50b1fe0ecb668f0f4a08 (patch)
tree5ce327f2871bae49c66fa18626d6ecfdc76962bf
parentca5fca29121a3c8757b5c4b3e35b8a4469bf4420 (diff)
parent565152a2ac9906933053176e344c3bae62472089 (diff)
downloadrneovim-dc33879dc2b2e855af1f50b1fe0ecb668f0f4a08.tar.gz
rneovim-dc33879dc2b2e855af1f50b1fe0ecb668f0f4a08.tar.bz2
rneovim-dc33879dc2b2e855af1f50b1fe0ecb668f0f4a08.zip
Merge pull request #32442 from zeertzjq/vim-407319f
vim-patch: runtime file updates
-rw-r--r--runtime/ftplugin/exports.vim14
-rw-r--r--runtime/ftplugin/samba.vim14
2 files changed, 28 insertions, 0 deletions
diff --git a/runtime/ftplugin/exports.vim b/runtime/ftplugin/exports.vim
new file mode 100644
index 0000000000..92688a4392
--- /dev/null
+++ b/runtime/ftplugin/exports.vim
@@ -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<'
diff --git a/runtime/ftplugin/samba.vim b/runtime/ftplugin/samba.vim
new file mode 100644
index 0000000000..1f4a26f75c
--- /dev/null
+++ b/runtime/ftplugin/samba.vim
@@ -0,0 +1,14 @@
+" Vim filetype plugin
+" Language: smb.conf(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<'