fix(programs/neovim): add lsp and diagnostic stuff

This commit is contained in:
uku 2025-04-03 23:09:52 +02:00
parent e3f8a2eabb
commit 8cc100558b
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o

View file

@ -72,6 +72,14 @@ vim.keymap.set("n", "<C-k>", "<C-w><C-k>", { desc = "Move focus to the upper win
-- open neo-tree
vim.keymap.set("n", "<leader>t", "<Cmd>Neotree reveal<CR>")
-- lsp keybindings
vim.keymap.set("n", "<leader>cd", vim.diagnostic.open_float)
-- show lsp messages inline
vim.diagnostic.config({
virtual_text = true,
})
-- [[ neovide configuration ]]
if vim.g.neovide then
vim.o.guifont = "IosevkaTerm Nerd Font:h12"