diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-02-17 22:47:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-02-17 22:47:16 +0100 |
commit | 3df0173fa6d0418e89ef4e9c1d04a97c92eec27c (patch) | |
tree | dd89eb96a512862d2e4ac45310b1a687b05f9e43 /runtime/syntax/xpm.vim | |
parent | 8c50d50b6e19b755d7bad7b2724d14ead29364a7 (diff) | |
download | vim-git-3df0173fa6d0418e89ef4e9c1d04a97c92eec27c.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/xpm.vim')
-rw-r--r-- | runtime/syntax/xpm.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/syntax/xpm.vim b/runtime/syntax/xpm.vim index 2021c3a96..0667ca28a 100644 --- a/runtime/syntax/xpm.vim +++ b/runtime/syntax/xpm.vim @@ -1,8 +1,9 @@ " Vim syntax file " Language: X Pixmap " Maintainer: Ronald Schild <rs@scutum.de> -" Last Change: 2008 May 28 +" Last Change: 2017 Feb 01 " Version: 5.4n.1 +" Jemma Nelson added termguicolors support " quit when a syntax file was already loaded if exists("b:current_syntax") @@ -15,7 +16,7 @@ syn keyword xpmTodo TODO FIXME XXX contained syn region xpmComment start="/\*" end="\*/" contains=xpmTodo syn region xpmPixelString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@xpmColors -if has("gui_running") +if has("gui_running") || has("termguicolors") && &termguicolors let color = "" let chars = "" @@ -120,7 +121,7 @@ endwhile unlet color chars colors cpp n i s -endif " has("gui_running") +endif " has("gui_running") || has("termguicolors") && &termguicolors " Define the default highlighting. " Only when an item doesn't have highlighting yet |