nvim: colo
This commit is contained in:
parent
3392d83ab4
commit
0a8939caa4
2 changed files with 13 additions and 4 deletions
|
@ -106,9 +106,10 @@ local function normalizeTSHighlight()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function customLinks()
|
local function customLinks()
|
||||||
-- link to Normal forces bg, so cursorline breaks
|
local cterm = vim.api.nvim_get_hl_by_name('Normal', false)
|
||||||
hl('Function', { default = false })
|
local gui = vim.api.nvim_get_hl_by_name('Normal', true)
|
||||||
hl('Operator', { default = false })
|
hl('Function', { ctermfg = cterm.foreground, fg=gui.foreground, default = false })
|
||||||
|
-- hl('Operator', { ctermfg = cterm.foreground, fg=gui.foreground, default = false })
|
||||||
end
|
end
|
||||||
|
|
||||||
local function normalizeTerminal()
|
local function normalizeTerminal()
|
||||||
|
|
|
@ -15,7 +15,7 @@ function M.setup()
|
||||||
local packer_bootstrap = ensure_packer()
|
local packer_bootstrap = ensure_packer()
|
||||||
|
|
||||||
|
|
||||||
require('packer').startup(function(use)
|
local startup = function(use)
|
||||||
use 'wbthomason/packer.nvim'
|
use 'wbthomason/packer.nvim'
|
||||||
|
|
||||||
use {
|
use {
|
||||||
|
@ -144,6 +144,14 @@ function M.setup()
|
||||||
require('packer').sync()
|
require('packer').sync()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
require('packer').startup({
|
||||||
|
startup,
|
||||||
|
config = {
|
||||||
|
max_jobs = 5,
|
||||||
|
transitive_disable = false,
|
||||||
|
}
|
||||||
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Add table
Reference in a new issue