nvim
This commit is contained in:
parent
e919c1c836
commit
3f204a1966
4 changed files with 8 additions and 5 deletions
|
@ -108,8 +108,8 @@ end
|
|||
local function customLinks()
|
||||
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 })
|
||||
hl('Function', { ctermfg = cterm.foreground, fg = gui.foreground, default = false })
|
||||
hl('Operator', { ctermfg = cterm.foreground, fg = gui.foreground, default = false })
|
||||
end
|
||||
|
||||
local function normalizeTerminal()
|
||||
|
@ -148,13 +148,14 @@ vim.api.nvim_create_autocmd('Colorscheme', {
|
|||
pattern = "gruvbox",
|
||||
callback = function()
|
||||
hl('Directory', { link = 'GruvboxGreen', default = false })
|
||||
hl('TelescopeBorder', { link = 'GruvBoxBlue', default = false})
|
||||
end
|
||||
})
|
||||
|
||||
local term = vim.env.TERM
|
||||
if (term ~= 'linux' or vim.g.neoray)
|
||||
then
|
||||
vim.cmd('set termguicolors')
|
||||
vim.o.termguicolors = true
|
||||
vim.g.gruvbox_contrast_dark = 'hard'
|
||||
vim.cmd('colorscheme gruvbox')
|
||||
end
|
||||
|
|
|
@ -170,7 +170,7 @@ function M.setup()
|
|||
-- "open_current", -- netrw disabled, opening a directory opens within the
|
||||
-- window like netrw would, regardless of window.position
|
||||
-- "disabled", -- netrw left alone, neo-tree does not handle opening dirs
|
||||
use_libuv_file_watcher = false, -- This will use the OS level file watchers to detect changes
|
||||
use_libuv_file_watcher = true, -- This will use the OS level file watchers to detect changes
|
||||
-- instead of relying on nvim autocmd events.
|
||||
window = {
|
||||
mappings = {
|
||||
|
|
|
@ -4,7 +4,7 @@ function M.setup()
|
|||
local nls = require "null-ls"
|
||||
|
||||
nls.setup({
|
||||
debug = true,
|
||||
debug = false,
|
||||
sources = {
|
||||
nls.builtins.formatting.xmllint,
|
||||
nls.builtins.formatting.jq,
|
||||
|
|
|
@ -24,6 +24,8 @@ function M.setup()
|
|||
end,
|
||||
}
|
||||
|
||||
use { 'lewis6991/impatient.nvim', config = function() require("impatient") end }
|
||||
|
||||
use {
|
||||
'neovim/nvim-lspconfig',
|
||||
config = function() require("configs.lsp").setup() end,
|
||||
|
|
Loading…
Add table
Reference in a new issue