bro no way this is the issue

This commit is contained in:
h 2024-12-26 16:17:26 -05:00
parent 7fe2f7b438
commit 80fbd2f133
4 changed files with 105 additions and 83 deletions

View File

@ -254,6 +254,17 @@ vim.api.nvim_create_autocmd(
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',
-- 'BufWritePost' }, {
-- pattern = "*",

View File

@ -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.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
vim.api.nvim_set_hl(0, 'LineNr', { fg = color, bg = "none" })

View File

@ -29,6 +29,7 @@ return require('packer').startup({
highlight = { enable = true, disable = { "latex" } },
indent = { enable = true },
ensure_installed = "all",
})
end
}

View File

@ -10,7 +10,14 @@
# shadow = false
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)
# shadow-radius = 12
shadow-radius = 7;
@ -125,8 +132,8 @@ fade-out-step = 0.08;
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
inactive-opacity = 0.8;
inactive-opacity = 1
# inactive-opacity = 0.8;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
@ -424,7 +431,7 @@ detect-client-opacity = true;
wintypes:
{
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; }
popup_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 0.8; }