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
+11
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 = "*",
+3
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" })
+1
View File
@@ -29,6 +29,7 @@ return require('packer').startup({
highlight = { enable = true, disable = { "latex" } },
indent = { enable = true },
ensure_installed = "all",
})
end
}