diff options
Diffstat (limited to 'syntax/xpm.vim')
-rw-r--r-- | syntax/xpm.vim | 7 |
1 files changed, 5 insertions, 2 deletions
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 <rs@scutum.de> -" 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 |