chore: remove some comments
This commit is contained in:
		@@ -1,17 +1,8 @@
 | 
				
			|||||||
-- LSP settings.
 | 
					 | 
				
			||||||
--  This function gets run when an LSP connects to a particular buffer.
 | 
					 | 
				
			||||||
local on_attach = function(client, bufnr)
 | 
					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)
 | 
					  local nmap = function(keys, func, desc)
 | 
				
			||||||
    if desc then
 | 
					    if desc then
 | 
				
			||||||
      desc = 'LSP: ' .. desc
 | 
					      desc = 'LSP: ' .. desc
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
 | 
					 | 
				
			||||||
    vim.keymap.set('n', keys, func, { buffer = bufnr, desc = desc })
 | 
					    vim.keymap.set('n', keys, func, { buffer = bufnr, desc = desc })
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user