bro no way this is the issue
This commit is contained in:
parent
7fe2f7b438
commit
80fbd2f133
|
@ -254,6 +254,17 @@ vim.api.nvim_create_autocmd(
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
for _, method in ipairs({ 'textDocument/diagnostic', 'workspace/diagnostic' }) do
|
||||||
|
local default_diagnostic_handler = vim.lsp.handlers[method]
|
||||||
|
vim.lsp.handlers[method] = function(err, result, context, config)
|
||||||
|
if err ~= nil and err.code == -32802 then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
return default_diagnostic_handler(err, result, context, config)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- vim.api.nvim_create_autocmd({ 'FileType', 'BufRead', 'BufReadPre', 'BufReadPost', 'BufWrite', 'BufWritePre',
|
-- vim.api.nvim_create_autocmd({ 'FileType', 'BufRead', 'BufReadPre', 'BufReadPost', 'BufWrite', 'BufWritePre',
|
||||||
-- 'BufWritePost' }, {
|
-- 'BufWritePost' }, {
|
||||||
-- pattern = "*",
|
-- pattern = "*",
|
||||||
|
|
|
@ -34,6 +34,9 @@ map('i', '<C-L>', '<c-g>u<Esc>[s1z=`]a<c-g>u', { noremap = true })
|
||||||
vim.cmd('colorscheme theme-nvim')
|
vim.cmd('colorscheme theme-nvim')
|
||||||
vim.g.airline_theme = 'theme'
|
vim.g.airline_theme = 'theme'
|
||||||
|
|
||||||
|
-- stupid fix for stupid problems i guess
|
||||||
|
vim.g["airline#extensions#whitespace#enabled"] = false
|
||||||
|
|
||||||
local color = require('base16-colorscheme').colors.base02
|
local color = require('base16-colorscheme').colors.base02
|
||||||
|
|
||||||
vim.api.nvim_set_hl(0, 'LineNr', { fg = color, bg = "none" })
|
vim.api.nvim_set_hl(0, 'LineNr', { fg = color, bg = "none" })
|
||||||
|
|
|
@ -29,6 +29,7 @@ return require('packer').startup({
|
||||||
highlight = { enable = true, disable = { "latex" } },
|
highlight = { enable = true, disable = { "latex" } },
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
ensure_installed = "all",
|
ensure_installed = "all",
|
||||||
|
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,14 @@
|
||||||
# shadow = false
|
# shadow = false
|
||||||
shadow = true;
|
shadow = true;
|
||||||
|
|
||||||
shadow-exclude-reg = "x30+0+0";
|
# shadow-exclude = [ "x = 0 && y = 0 && override_redirect = true" ]
|
||||||
|
# shadow-exclude = [
|
||||||
|
# "! name~=''"
|
||||||
|
# ]
|
||||||
|
|
||||||
|
# clip-shadow-above = true
|
||||||
|
# shadow-exclude-reg = "x30+0+0";
|
||||||
|
# shadow-exclude = "x30+0+0";
|
||||||
# The blur radius for shadows, in pixels. (defaults to 12)
|
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||||
# shadow-radius = 12
|
# shadow-radius = 12
|
||||||
shadow-radius = 7;
|
shadow-radius = 7;
|
||||||
|
@ -125,8 +132,8 @@ fade-out-step = 0.08;
|
||||||
|
|
||||||
|
|
||||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||||
# inactive-opacity = 1
|
inactive-opacity = 1
|
||||||
inactive-opacity = 0.8;
|
# inactive-opacity = 0.8;
|
||||||
|
|
||||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||||
# frame-opacity = 1.0
|
# frame-opacity = 1.0
|
||||||
|
@ -424,7 +431,7 @@ detect-client-opacity = true;
|
||||||
wintypes:
|
wintypes:
|
||||||
{
|
{
|
||||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||||
dock = { shadow = false; }
|
dock = { shadow = false; clip-shadow-above = true; }
|
||||||
dnd = { shadow = false; }
|
dnd = { shadow = false; }
|
||||||
popup_menu = { opacity = 0.8; }
|
popup_menu = { opacity = 0.8; }
|
||||||
dropdown_menu = { opacity = 0.8; }
|
dropdown_menu = { opacity = 0.8; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user