Improve completion comments
This commit is contained in:
parent
0bfd392b20
commit
89bca77ef4
@ -147,13 +147,13 @@ return {
|
||||
virtual_text = false, -- Disable trailing virtual text
|
||||
})
|
||||
|
||||
-- Diagnostic mappings
|
||||
-- Diagnostics mappings
|
||||
-- TODO: trouble.nvim mappings instead? https://youtu.be/MuUrCcvE-Yw?t=631
|
||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { remap = false })
|
||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { remap = false })
|
||||
vim.keymap.set('n', '<leader>sd', vim.diagnostic.open_float, { remap = false })
|
||||
|
||||
-- LSP mappings created when attached to a buffer
|
||||
-- Mappings created when LSP is attached to a buffer
|
||||
local augroup = vim.api.nvim_create_augroup('lsp', { clear = true })
|
||||
vim.api.nvim_create_autocmd('LspAttach', {
|
||||
pattern = '*',
|
||||
|
Loading…
x
Reference in New Issue
Block a user