aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-14 19:54:07 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-02-14 19:54:14 +0800
commit565152a2ac9906933053176e344c3bae62472089 (patch)
tree156f22cd10ebb3abd60ef76f38cb6cb476c703c3
parent92f0933abbac1bf0a080256a41b8de81987c7e62 (diff)
downloadrneovim-565152a2ac9906933053176e344c3bae62472089.tar.gz
rneovim-565152a2ac9906933053176e344c3bae62472089.tar.bz2
rneovim-565152a2ac9906933053176e344c3bae62472089.zip
vim-patch:d7deeff: runtime(exports): include simple filetype plugin
closes: vim/vim#16625 https://github.com/vim/vim/commit/d7deeffe11f4db3cce19236ddb80831652a87e83 Co-authored-by: Matt Perry <matt@mattperry.com>
-rw-r--r--runtime/ftplugin/exports.vim14
1 files changed, 14 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<'