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):
|
-- use language-specific plugins for indenting (better):
|
||||||
vim.cmd("filetype plugin indent on")
|
vim.cmd("filetype plugin indent on")
|
||||||
|
|
||||||
vim.cmd("syntax on")
|
vim.cmd("syntax on")
|
||||||
|
|
||||||
vim.keymap.set('n', 'p', '<Cmd>pu<CR>')
|
vim.keymap.set('n', 'p', '<Cmd>pu<CR>')
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ return {
|
|||||||
'neovim/nvim-lspconfig',
|
'neovim/nvim-lspconfig',
|
||||||
dependencies = { 'saghen/blink.cmp' },
|
dependencies = { 'saghen/blink.cmp' },
|
||||||
|
|
||||||
-- example using `opts` for defining servers
|
|
||||||
opts = {
|
opts = {
|
||||||
servers = {
|
servers = {
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
@@ -32,13 +31,5 @@ return {
|
|||||||
lspconfig[server].setup(config)
|
lspconfig[server].setup(config)
|
||||||
end
|
end
|
||||||
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