From 27cd2aa38d2a0bb9ae4ee8b5880f3e8f28d51155 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 8 Jul 2024 10:44:16 +0200 Subject: 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 --- runtime/syntax/kivy.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/syntax') diff --git a/runtime/syntax/kivy.vim b/runtime/syntax/kivy.vim index b145503478..76e3576e78 100644 --- a/runtime/syntax/kivy.vim +++ b/runtime/syntax/kivy.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Kivy " Maintainer: Corey Prophitt -" Last Change: May 29th, 2014 +" Last Change: Jul 6th, 2024 " Version: 1 " URL: http://kivy.org/ @@ -17,7 +17,7 @@ syn include @pyth $VIMRUNTIME/syntax/python.vim " Define Kivy syntax syn match kivyPreProc /#:.*/ -syn match kivyComment /#.*/ +syn match kivyComment /#[^:].*/ syn match kivyRule /<\I\i*\(,\s*\I\i*\)*>:/ syn match kivyAttribute /\<\I\i*\>/ nextgroup=kivyValue -- cgit