mirror of
https://github.com/neovim/neovim.git
synced 2026-04-26 09:14:15 +00:00
Merge pull request #26407 from gpanders/default-tgc
feat(defaults): enable 'termguicolors' by default when supported by terminal
This commit is contained in:
4
runtime/lua/vim/_meta/options.lua
generated
4
runtime/lua/vim/_meta/options.lua
generated
@@ -6941,6 +6941,10 @@ vim.go.tbidi = vim.go.termbidi
|
||||
--- attributes instead of "cterm" attributes. `guifg`
|
||||
--- Requires an ISO-8613-3 compatible terminal.
|
||||
---
|
||||
--- Nvim will automatically attempt to determine if the host terminal
|
||||
--- supports 24-bit color and will enable this option if it does
|
||||
--- (unless explicitly disabled by the user).
|
||||
---
|
||||
--- @type boolean
|
||||
vim.o.termguicolors = false
|
||||
vim.o.tgc = vim.o.termguicolors
|
||||
|
||||
Reference in New Issue
Block a user