Compare commits
2 Commits
8cdef01d65
...
c7f1772d65
Author | SHA1 | Date |
---|---|---|
Ray Elliott | c7f1772d65 | |
Ray Elliott | 54641988db |
|
@ -847,15 +847,8 @@ local highlight_groups = {
|
|||
IndentGuidesOdd = {bg = c_bg_hl},
|
||||
IndentGuidesEven = {bg = c_bg_hl_strong},
|
||||
|
||||
--[[ 4.4.7. NERDTree ]]
|
||||
NERDTreeCWD = 'Label',
|
||||
NERDTreeUp = 'Operator',
|
||||
NERDTreeDir = 'Directory',
|
||||
NERDTreeDirSlash = 'Delimiter',
|
||||
NERDTreeOpenable = 'NERDTreeDir',
|
||||
NERDTreeClosable = 'NERDTreeOpenable',
|
||||
NERDTreeExecFile = 'Function',
|
||||
NERDTreeLinkTarget = 'Tag',
|
||||
--[[ 4.4.7. Netrw ]]
|
||||
netrwMarkFile = 'Search',
|
||||
|
||||
--[[ 4.4.8. nvim-treesitter ]]
|
||||
TSConstBuiltin = 'Constant',
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
--[[/* VARS */]]
|
||||
|
||||
--- Which set of colors to use.
|
||||
local _USE_256 = tonumber(vim.go.t_Co) > 255 or string.find(vim.env.TERM, '256')
|
||||
local has_t_Co = pcall(function() return vim.go.t_Co end)
|
||||
local _USE_256 = (has_t_Co and tonumber(vim.go.t_Co) > 255) or string.find(vim.env.TERM, '256')
|
||||
|
||||
|
||||
--- Indicating nothing for a highlight field.
|
||||
local _NONE = 'NONE'
|
||||
|
|
Loading…
Reference in New Issue