1
0
Fork 0

nvim: colo

This commit is contained in:
Vladimír Dudr 2022-10-24 07:49:49 +02:00
parent 3392d83ab4
commit 0a8939caa4
2 changed files with 13 additions and 4 deletions

View file

@ -106,9 +106,10 @@ local function normalizeTSHighlight()
end
local function customLinks()
-- link to Normal forces bg, so cursorline breaks
hl('Function', { default = false })
hl('Operator', { default = false })
local cterm = vim.api.nvim_get_hl_by_name('Normal', false)
local gui = vim.api.nvim_get_hl_by_name('Normal', true)
hl('Function', { ctermfg = cterm.foreground, fg=gui.foreground, default = false })
-- hl('Operator', { ctermfg = cterm.foreground, fg=gui.foreground, default = false })
end
local function normalizeTerminal()

View file

@ -15,7 +15,7 @@ function M.setup()
local packer_bootstrap = ensure_packer()
require('packer').startup(function(use)
local startup = function(use)
use 'wbthomason/packer.nvim'
use {
@ -144,6 +144,14 @@ function M.setup()
require('packer').sync()
end
end)
require('packer').startup({
startup,
config = {
max_jobs = 5,
transitive_disable = false,
}
})
end
return M