Add 'dots/' from commit 'f64b634dd8fbb2c8a2898c3b9d0acc9452e4d966'
git-subtree-dir: dots git-subtree-mainline:2ad98cde17git-subtree-split:f64b634dd8
This commit is contained in:
10
dots/.config/nvim/lua/diagnostic.lua
Normal file
10
dots/.config/nvim/lua/diagnostic.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
-- Source: <https://vonheikemen.github.io/devlog/tools/neovim-lsp-client-guide/>
|
||||
vim.diagnostic.config({
|
||||
signs = true,
|
||||
underline = false,
|
||||
severity_sort = true,
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<leader>dl", vim.diagnostic.open_float)
|
||||
vim.keymap.set("n", "<leader>dj", vim.diagnostic.goto_prev)
|
||||
vim.keymap.set("n", "<leader>dk", vim.diagnostic.goto_next)
|
||||
Reference in New Issue
Block a user