diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-01-21 11:13:11 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-23 11:38:52 +0100 |
commit | 26143d7a5c9027f83f797f4cc1ca5bafa418a03d (patch) | |
tree | a438e4971234c93ba43bea40273cd7ac3c4a5b55 /test | |
parent | d3fa8adea9ba4dcf96ec05aafff1a0cdb67a6d72 (diff) | |
download | rneovim-26143d7a5c9027f83f797f4cc1ca5bafa418a03d.tar.gz rneovim-26143d7a5c9027f83f797f4cc1ca5bafa418a03d.tar.bz2 rneovim-26143d7a5c9027f83f797f4cc1ca5bafa418a03d.zip |
fix(treesitter): update @markup default links
* use `Special` as default for `@markup.*`, especially `@markup.raw` and
`@markup.math` (`@markup` itself is never used)
* use `Structure` for `@markup.environment`
* highlight all of `@markup.link` as Underlined (otherwise concealed
links are invisible)
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/treesitter/highlight_spec.lua | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/test/functional/treesitter/highlight_spec.lua b/test/functional/treesitter/highlight_spec.lua index 932af0332b..2efdad1efa 100644 --- a/test/functional/treesitter/highlight_spec.lua +++ b/test/functional/treesitter/highlight_spec.lua @@ -745,6 +745,7 @@ describe('treesitter highlighting (help)', function() [3] = { bold = true, foreground = Screen.colors.Brown }, [4] = { foreground = Screen.colors.Cyan4 }, [5] = { foreground = Screen.colors.Magenta1 }, + [6] = { foreground = Screen.colors.SlateBlue }, } end) @@ -763,10 +764,10 @@ describe('treesitter highlighting (help)', function() screen:expect { grid = [[ - {1:>ruby} | - {1: -- comment} | - {1: local this_is = 'actually_lua'} | - {1:<} | + {6:>ruby} | + {6: -- comment} | + {6: local this_is = 'actually_lua'} | + {6:<} | ^ | | ]], @@ -776,10 +777,10 @@ describe('treesitter highlighting (help)', function() screen:expect { grid = [[ - {1:>lua} | - {1: -- comment} | - {1: }{3:local}{1: }{4:this_is}{1: }{3:=}{1: }{5:'actually_lua'} | - {1:<} | + {6:>lua} | + {6: }{1:-- comment} | + {6: }{3:local}{6: }{4:this_is}{6: }{3:=}{6: }{5:'actually_lua'} | + {6:<} | ^ | | ]], @@ -789,10 +790,10 @@ describe('treesitter highlighting (help)', function() screen:expect { grid = [[ - {1:>ruby} | - {1: -- comment} | - {1: local this_is = 'actually_lua'} | - {1:<} | + {6:>ruby} | + {6: -- comment} | + {6: local this_is = 'actually_lua'} | + {6:<} | ^ | | ]], |