tidy up
This commit is contained in:
1
init.lua
1
init.lua
@@ -38,7 +38,6 @@ vim.opt.colorcolumn = "80"
|
||||
|
||||
-- use language-specific plugins for indenting (better):
|
||||
vim.cmd("filetype plugin indent on")
|
||||
|
||||
vim.cmd("syntax on")
|
||||
|
||||
vim.keymap.set('n', 'p', '<Cmd>pu<CR>')
|
||||
|
||||
@@ -3,7 +3,6 @@ return {
|
||||
'neovim/nvim-lspconfig',
|
||||
dependencies = { 'saghen/blink.cmp' },
|
||||
|
||||
-- example using `opts` for defining servers
|
||||
opts = {
|
||||
servers = {
|
||||
lua_ls = {
|
||||
@@ -32,13 +31,5 @@ return {
|
||||
lspconfig[server].setup(config)
|
||||
end
|
||||
end
|
||||
|
||||
-- example calling setup directly for each LSP
|
||||
-- config = function()
|
||||
-- local capabilities = require('blink.cmp').get_lsp_capabilities()
|
||||
-- local lspconfig = require('lspconfig')
|
||||
--
|
||||
-- lspconfig['lua_ls'].setup({ capabilities = capabilities })
|
||||
-- end
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user