light mode time again
This commit is contained in:
parent
3afb2264ab
commit
fe01c374c2
3 changed files with 17 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
set termguicolors
|
||||
|
||||
set background=dark
|
||||
let ayucolor="dark"
|
||||
set background=light
|
||||
let ayucolor="light"
|
||||
colorscheme ayu
|
||||
|
||||
"colorscheme code_dark
|
||||
|
|
|
|||
|
|
@ -54,3 +54,15 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
|||
require("lsp-inlayhints").on_attach(client, bufnr)
|
||||
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
|
||||
|
|
|
|||
|
|
@ -47,4 +47,7 @@ Plug 'nvim-lua/plenary.nvim'
|
|||
" Nice hovers
|
||||
Plug 'stevearc/dressing.nvim'
|
||||
|
||||
" Music
|
||||
Plug 'martineausimon/nvim-lilypond-suite', { 'branch': 'main' }
|
||||
|
||||
call plug#end()
|
||||
|
|
|
|||
Loading…
Reference in a new issue