feat(nvim): modernize jump config
This commit is contained in:
parent
90cf2532dd
commit
014277b247
2 changed files with 9 additions and 2 deletions
|
|
@ -9,7 +9,11 @@ vim.diagnostic.config({
|
|||
header = '',
|
||||
prefix = ' ',
|
||||
},
|
||||
jump = { float = true },
|
||||
jump = {
|
||||
on_jump = function(_, bufnr)
|
||||
vim.diagnostic.open_float({ bufnr = bufnr, scope = 'cursor' })
|
||||
end,
|
||||
},
|
||||
})
|
||||
|
||||
vim.lsp.config('*', {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
return {
|
||||
'neovim/nvim-lspconfig',
|
||||
{
|
||||
'neovim/nvim-lspconfig',
|
||||
dir = '~/dev/nvim-lspconfig',
|
||||
},
|
||||
{
|
||||
'folke/lazydev.nvim',
|
||||
ft = 'lua',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue