diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-08 10:44:16 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-08 12:14:44 +0200 |
commit | 27cd2aa38d2a0bb9ae4ee8b5880f3e8f28d51155 (patch) | |
tree | a3d7ccbdfaef0461a21adfc40b830a9b50bb2819 /runtime/ftplugin | |
parent | 8474f529780ba20f9179ad1b60167ee9e53f8374 (diff) | |
download | rneovim-27cd2aa38d2a0bb9ae4ee8b5880f3e8f28d51155.tar.gz rneovim-27cd2aa38d2a0bb9ae4ee8b5880f3e8f28d51155.tar.bz2 rneovim-27cd2aa38d2a0bb9ae4ee8b5880f3e8f28d51155.zip |
vim-patch:8906e22: runtime(kivy): update kivy syntax, include ftplugin
Kivy uses "#:" for preprocessing commands (like "#:import ...") which
were overridden by the comment syntax. This has been changed, and a
commentstring has been added.
closes: vim/vim#15163
https://github.com/vim/vim/commit/8906e22df5223e012092eaee491a00534ba9f4b5
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/kivy.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/kivy.vim b/runtime/ftplugin/kivy.vim new file mode 100644 index 0000000000..e19d832bf3 --- /dev/null +++ b/runtime/ftplugin/kivy.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin +" Language: Kivy +" Maintainer: Riley Bruins <ribru17@gmail.com> +" Last Change: 2024 Jul 06 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl commentstring=#\ %s + +let b:undo_ftplugin = 'setl cms<' |