From 87a26c5bf169bafbee837e2323f24cfb07e35250 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 21 Dec 2021 14:41:23 +0100 Subject: Update --- syntax/xpm.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'syntax/xpm.vim') diff --git a/syntax/xpm.vim b/syntax/xpm.vim index dfc326b0..9b5563fc 100644 --- a/syntax/xpm.vim +++ b/syntax/xpm.vim @@ -5,19 +5,22 @@ endif " Vim syntax file " Language: X Pixmap " Maintainer: Ronald Schild -" Last Change: 2017 Feb 01 +" Last Change: 2021 Oct 04 " Version: 5.4n.1 " Jemma Nelson added termguicolors support +" Dominique Pellé fixed spelling support " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif +syn spell notoplevel + syn keyword xpmType char syn keyword xpmStorageClass static syn keyword xpmTodo TODO FIXME XXX contained -syn region xpmComment start="/\*" end="\*/" contains=xpmTodo +syn region xpmComment start="/\*" end="\*/" contains=xpmTodo,@Spell syn region xpmPixelString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@xpmColors if has("gui_running") || has("termguicolors") && &termguicolors -- cgit v1.2.3