From 89bca77ef481eed5ea255261544012c070fbb1d6 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Mon, 1 Apr 2024 19:05:03 +0100 Subject: [PATCH] Improve completion comments --- lua/plugins/completions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/completions.lua b/lua/plugins/completions.lua index b4f9ff8..0eeb605 100644 --- a/lua/plugins/completions.lua +++ b/lua/plugins/completions.lua @@ -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', '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 = '*',