light mode time again

This commit is contained in:
Nicole Tietz-Sokolskaya 2025-05-12 15:49:05 -04:00
parent 3afb2264ab
commit fe01c374c2
3 changed files with 17 additions and 2 deletions

View file

@ -1,7 +1,7 @@
set termguicolors set termguicolors
set background=dark set background=light
let ayucolor="dark" let ayucolor="light"
colorscheme ayu colorscheme ayu
"colorscheme code_dark "colorscheme code_dark

View file

@ -54,3 +54,15 @@ vim.api.nvim_create_autocmd("LspAttach", {
require("lsp-inlayhints").on_attach(client, bufnr) require("lsp-inlayhints").on_attach(client, bufnr)
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

View file

@ -47,4 +47,7 @@ Plug 'nvim-lua/plenary.nvim'
" Nice hovers " Nice hovers
Plug 'stevearc/dressing.nvim' Plug 'stevearc/dressing.nvim'
" Music
Plug 'martineausimon/nvim-lilypond-suite', { 'branch': 'main' }
call plug#end() call plug#end()