runtime(editorconfig): include editorconfig ftplugin file
Commit:
https://github.com/vim/vim/commit/2c299eb2581eb75a44e81699be7030ab827a4555
Author: Riley Bruins <[email protected]>
Date: Sun Jul 7 20:54:32 2024 +0200
runtime(editorconfig): include editorconfig ftplugin file
closes: https://github.com/vim/vim/issues/15160
Signed-off-by: Riley Bruins <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index 320090524..37ad8d4ad 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -130,6 +130,7 @@ runtime/ftplugin/debcontrol.vim @jamessan
runtime/ftplugin/debsources.vim @jamessan
runtime/ftplugin/desktop.vim @e-kwsm
runtime/ftplugin/dosbatch.vim @mrdubya
+runtime/ftplugin/editorconfig.vim @ribru17
runtime/ftplugin/eiffel.vim @dkearns
runtime/ftplugin/elixir.vim @mhanberg
runtime/ftplugin/erlang.vim @hcs42
diff --git a/runtime/ftplugin/editorconfig.vim
b/runtime/ftplugin/editorconfig.vim
new file mode 100644
index 000000000..6d437351e
--- /dev/null
+++ b/runtime/ftplugin/editorconfig.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin
+" Language: EditorConfig
+" Maintainer: Riley Bruins <[email protected]>
+" Last Change: 2024 Jul 06
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setl comments=:#,:; commentstring=#\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1sQX7P-009BJV-Fr%40256bit.org.