mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
tui: expose terminal type in 'term' option
Since "builtin" terminfo definitions were implemented (7cbf52db1b),
the decisions made by tui.c and terminfo.c are more relevant. Exposing
that decision in the 'term' option helps with troubleshooting.
Also: remove code that allowed setting t_Co. `:set t_Co=…` has never
worked; the highlight_spec test asserting that nvim_set_option('t_Co')
_does_ work makes no sense, and should not have worked.
This commit is contained in:
@@ -14,8 +14,6 @@ describe('colorscheme compatibility', function()
|
||||
|
||||
it('t_Co is set to 256 by default', function()
|
||||
eq('256', eval('&t_Co'))
|
||||
request('nvim_set_option', 't_Co', '88')
|
||||
eq('88', eval('&t_Co'))
|
||||
end)
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user