mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
refactor(drawline): integrate terminal hl with eol loop (#27893)
There is no test for using 'cursorline' in Normal mode in a terminal buffer, so add a test and fix 'cursorcolumn' remaining when entering Terminal mode. Also move synIDattr() tests to ui/highlight_spec.lua.
This commit is contained in:
@@ -54,7 +54,7 @@ describe(':terminal buffer', function()
|
||||
eq({ 0, 'both' }, eval('[&l:cursorline, &l:cursorlineopt]'))
|
||||
end)
|
||||
|
||||
it('terminal-mode disables cursorline when cursorlineopt is only set to "line', function()
|
||||
it('terminal-mode disables cursorline when cursorlineopt is only set to "line"', function()
|
||||
feed([[<C-\><C-N>]])
|
||||
command('setlocal cursorline cursorlineopt=line')
|
||||
feed('i')
|
||||
|
||||
Reference in New Issue
Block a user