From 4315657a36d825123f793c022d4663c0bae2b24b Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 8 Jul 2024 10:44:47 +0200 Subject: [PATCH] vim-patch:2c299eb: runtime(editorconfig): include editorconfig ftplugin file closes: vim/vim#15160 https://github.com/vim/vim/commit/2c299eb2581eb75a44e81699be7030ab827a4555 Co-authored-by: Riley Bruins --- runtime/ftplugin/editorconfig.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 runtime/ftplugin/editorconfig.vim diff --git a/runtime/ftplugin/editorconfig.vim b/runtime/ftplugin/editorconfig.vim new file mode 100644 index 0000000000..6d437351eb --- /dev/null +++ b/runtime/ftplugin/editorconfig.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin +" Language: EditorConfig +" Maintainer: Riley Bruins +" 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<'