Mercurial > vim
annotate runtime/syntax/gkrellmrc.vim @ 17482:6cf077f59152 v8.1.1739
patch 8.1.1739: deleted match highlighting not updated in other window
commit https://github.com/vim/vim/commit/06029a857a3d4d90b3162090506c1e00dc84c60b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 24 14:25:26 2019 +0200
patch 8.1.1739: deleted match highlighting not updated in other window
Problem: Deleted match highlighting not updated in other window.
Solution: Mark the window for refresh. (closes https://github.com/vim/vim/issues/4720) Also fix that
ambi-width check clears with wrong attributes.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Jul 2019 14:30:08 +0200 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " This is a GENERATED FILE. Please always refer to source file at the URI below. | |
3 " Language: gkrellm theme files `gkrellmrc' | |
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> | |
5 " Last Change: 2003-04-30 | |
6 " URL: http://trific.ath.cx/Ftp/vim/syntax/gkrellmrc.vim | |
7 | |
8 " Setup | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
9 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
10 if exists("b:current_syntax") |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
11 finish |
7 | 12 endif |
13 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
14 setlocal iskeyword=_,-,a-z,A-Z,48-57 |
7 | 15 |
16 syn case match | |
17 | |
18 " Base constructs | |
19 syn match gkrellmrcComment "#.*$" contains=gkrellmrcFixme | |
20 syn keyword gkrellmrcFixme FIXME TODO XXX NOT contained | |
21 syn region gkrellmrcString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline | |
22 syn match gkrellmrcNumber "^-\=\(\d\+\)\=\.\=\d\+" | |
23 syn match gkrellmrcNumber "\W-\=\(\d\+\)\=\.\=\d\+"lc=1 | |
24 syn keyword gkrellmrcConstant none | |
25 syn match gkrellmrcRGBColor "#\(\x\{12}\|\x\{9}\|\x\{6}\|\x\{3}\)\>" | |
26 | |
27 " Keywords | |
28 syn keyword gkrellmrcBuiltinExt cpu_nice_color cpu_nice_grid_color krell_depth krell_expand krell_left_margin krell_right_margin krell_x_hot krell_yoff mem_krell_buffers_depth mem_krell_buffers_expand mem_krell_buffers_x_hot mem_krell_buffers_yoff mem_krell_cache_depth mem_krell_cache_expand mem_krell_cache_x_hot mem_krell_cache_yoff sensors_bg_volt timer_bg_timer | |
29 syn keyword gkrellmrcGlobal allow_scaling author chart_width_ref theme_alternatives | |
30 syn keyword gkrellmrcSetCmd set_image_border set_integer set_string | |
31 syn keyword gkrellmrcGlobal bg_slider_meter_border bg_slider_panel_border | |
32 syn keyword gkrellmrcGlobal frame_bottom_height frame_left_width frame_right_width frame_top_height frame_left_chart_overlap frame_right_chart_overlap frame_left_panel_overlap frame_right_panel_overlap frame_left_spacer_overlap frame_right_spacer_overlap spacer_overlap_off cap_images_off | |
33 syn keyword gkrellmrcGlobal frame_bottom_border frame_left_border frame_right_border frame_top_border spacer_top_border spacer_bottom_border frame_left_chart_border frame_right_chart_border frame_left_panel_border frame_right_panel_border | |
34 syn keyword gkrellmrcGlobal chart_in_color chart_in_color_grid chart_out_color chart_out_color_grid | |
35 syn keyword gkrellmrcGlobal bg_separator_height bg_grid_mode | |
36 syn keyword gkrellmrcGlobal rx_led_x rx_led_y tx_led_x tx_led_y | |
37 syn keyword gkrellmrcGlobal decal_mail_frames decal_mail_delay | |
38 syn keyword gkrellmrcGlobal decal_alarm_frames decal_warn_frames | |
39 syn keyword gkrellmrcGlobal krell_slider_depth krell_slider_expand krell_slider_x_hot | |
40 syn keyword gkrellmrcGlobal button_panel_border button_meter_border | |
41 syn keyword gkrellmrcGlobal large_font normal_font small_font | |
42 syn keyword gkrellmrcGlobal spacer_bottom_height spacer_top_height spacer_bottom_height_chart spacer_top_height_chart spacer_bottom_height_meter spacer_top_height_meter | |
43 syn keyword gkrellmrcExpandMode left right bar-mode left-scaled right-scaled bar-mode-scaled | |
44 syn keyword gkrellmrcMeterName apm cal clock fs host mail mem swap timer sensors uptime | |
45 syn keyword gkrellmrcChartName cpu proc disk inet and net | |
46 syn match gkrellmrcSpecialClassName "\*" | |
47 syn keyword gkrellmrcStyleCmd StyleMeter StyleChart StylePanel | |
48 syn keyword gkrellmrcStyleItem textcolor alt_textcolor font alt_font transparency border label_position margin margins left_margin right_margin top_margin bottom_margin krell_depth krell_yoff krell_x_hot krell_expand krell_left_margin krell_right_margin | |
49 | |
50 " Define the default highlighting | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
51 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
52 hi def link gkrellmrcComment Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
53 hi def link gkrellmrcFixme Todo |
7 | 54 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
55 hi def link gkrellmrcString gkrellmrcConstant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
56 hi def link gkrellmrcNumber gkrellmrcConstant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
57 hi def link gkrellmrcRGBColor gkrellmrcConstant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
58 hi def link gkrellmrcExpandMode gkrellmrcConstant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
59 hi def link gkrellmrcConstant Constant |
7 | 60 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
61 hi def link gkrellmrcMeterName gkrellmrcClass |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
62 hi def link gkrellmrcChartName gkrellmrcClass |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
63 hi def link gkrellmrcSpecialClassName gkrellmrcClass |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
64 hi def link gkrellmrcClass Type |
7 | 65 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
66 hi def link gkrellmrcGlobal gkrellmrcItem |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
67 hi def link gkrellmrcBuiltinExt gkrellmrcItem |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
68 hi def link gkrellmrcStyleItem gkrellmrcItem |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
69 hi def link gkrellmrcItem Function |
7 | 70 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
71 hi def link gkrellmrcSetCmd Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
72 hi def link gkrellmrcStyleCmd Statement |
7 | 73 |
74 | |
75 let b:current_syntax = "gkrellmrc" |