chore: remove some comments

This commit is contained in:
Matej Janezic 2023-05-16 13:20:54 +02:00
parent cf259fd22e
commit d612a118cd
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
1 changed files with 0 additions and 9 deletions

View File

@ -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