From d612a118cd9acfeb23ebc992847859b94164a9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Tue, 16 May 2023 13:20:54 +0200 Subject: [PATCH] chore: remove some comments --- lua/plugins/lsp.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 09ac71e..73ccaa5 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -1,17 +1,8 @@ --- LSP settings. --- This function gets run when an LSP connects to a particular buffer. local on_attach = function(client, bufnr) - -- NOTE: Remember that lua is a real programming language, and as such it is possible - -- to define small helper and utility functions so you don't have to repeat yourself - -- many times. - -- - -- In this case, we create a function that lets us more easily define mappings specific - -- for LSP related items. It sets the mode, buffer and description for us each time. local nmap = function(keys, func, desc) if desc then desc = 'LSP: ' .. desc end - vim.keymap.set('n', keys, func, { buffer = bufnr, desc = desc }) end