vim: disable highlights

This commit is contained in:
Gabriel Ebner 2022-04-02 20:33:35 +02:00
parent 343fd49781
commit 3677b0d510

10
vimrc

@ -217,8 +217,8 @@ lua <<EOF
vim.api.nvim_exec([[ vim.api.nvim_exec([[
augroup lsp_document_highlight augroup lsp_document_highlight
autocmd! autocmd!
autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight() " autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight()
autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references() " autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()
augroup END augroup END
]], false) ]], false)
end, end,
@ -331,9 +331,9 @@ require'osc52'
EOF EOF
hi LspReferenceRead cterm=bold ctermbg=red guibg=#371700 hi LspReferenceRead cterm=bold ctermbg=red guibg=#303030
hi LspReferenceText cterm=bold ctermbg=red guibg=#371700 hi LspReferenceText cterm=bold ctermbg=red guibg=#303030
hi LspReferenceWrite cterm=bold ctermbg=red guibg=#371700 hi LspReferenceWrite cterm=bold ctermbg=red guibg=#303030
hi LspDiagnosticsDefaultError cterm=bold ctermfg=Red hi LspDiagnosticsDefaultError cterm=bold ctermfg=Red
hi LspDiagnosticsDefaultWarning cterm=bold ctermfg=Yellow hi LspDiagnosticsDefaultWarning cterm=bold ctermfg=Yellow
hi LspDiagnosticsDefaultInformation ctermfg=Blue hi LspDiagnosticsDefaultInformation ctermfg=Blue