mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
Merge pull request #13648 from teto/fix-fold-hl
adds a test to check syntax is taken into account in open folds
This commit is contained in:
commit
e256777b5a
@ -44,7 +44,7 @@
|
|||||||
pythonEnv = legacyPkgs.python3;
|
pythonEnv = legacyPkgs.python3;
|
||||||
luacheck = legacyPkgs.luaPackages.luacheck;
|
luacheck = legacyPkgs.luaPackages.luacheck;
|
||||||
in
|
in
|
||||||
neovim-debug.overrideAttrs(oa: {
|
(neovim-debug.override({doCheck = true;})).overrideAttrs(oa: {
|
||||||
cmakeFlags = oa.cmakeFlags ++ [
|
cmakeFlags = oa.cmakeFlags ++ [
|
||||||
"-DLUACHECK_PRG=${luacheck}/bin/luacheck"
|
"-DLUACHECK_PRG=${luacheck}/bin/luacheck"
|
||||||
"-DMIN_LOG_LEVEL=0"
|
"-DMIN_LOG_LEVEL=0"
|
||||||
|
@ -480,6 +480,11 @@ describe('search highlighting', function()
|
|||||||
{4:search hit BOTTOM, continuing at TOP} |
|
{4:search hit BOTTOM, continuing at TOP} |
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
-- check hilights work also in folds
|
||||||
|
feed("zf4j")
|
||||||
|
command("%foldopen")
|
||||||
|
screen:expect_unchanged()
|
||||||
|
|
||||||
feed_command("call clearmatches()")
|
feed_command("call clearmatches()")
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
very spec{2:^ial te}xt |
|
very spec{2:^ial te}xt |
|
||||||
|
Loading…
Reference in New Issue
Block a user