diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-04 21:32:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-04 21:32:54 +0100 |
commit | 6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0 (patch) | |
tree | db66acf9f47e727e0a1dd5eee189bdcc6229e06a /runtime/syntax/xpm.vim | |
parent | 78aa5ffe314f40d33666f03b833f66b11c3d0f67 (diff) | |
download | vim-git-6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0.tar.gz |
Update runtime files
Diffstat (limited to 'runtime/syntax/xpm.vim')
-rw-r--r-- | runtime/syntax/xpm.vim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/syntax/xpm.vim b/runtime/syntax/xpm.vim index 0667ca28a..be9f38723 100644 --- a/runtime/syntax/xpm.vim +++ b/runtime/syntax/xpm.vim @@ -1,19 +1,22 @@ " 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 |