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