Cleanup after migration.
This commit is contained in:
parent
5f44b663e3
commit
e734307a44
@ -1,7 +1,5 @@
|
||||
local lsp = require("lsp-zero")
|
||||
|
||||
lsp.preset("recommended")
|
||||
|
||||
lsp.extend_cmp()
|
||||
local cmp = require('cmp')
|
||||
local cmp_select = { behavior = cmp.SelectBehavior.Select }
|
||||
@ -28,14 +26,11 @@ cmp.setup({
|
||||
}
|
||||
})
|
||||
|
||||
lsp.set_preferences({
|
||||
suggest_lsp_servers = false,
|
||||
sign_icons = {
|
||||
error = 'E',
|
||||
warn = 'W',
|
||||
hint = 'H',
|
||||
info = 'I'
|
||||
}
|
||||
lsp.set_sign_icons({
|
||||
error = 'E',
|
||||
warn = 'W',
|
||||
hint = 'H',
|
||||
info = 'I'
|
||||
})
|
||||
|
||||
lsp.extend_lspconfig()
|
||||
@ -55,8 +50,6 @@ lsp.on_attach(function(client, bufnr)
|
||||
vim.keymap.set("i", "<C-h>", function() vim.lsp.buf.signature_help() end, opts)
|
||||
end)
|
||||
|
||||
lsp.setup()
|
||||
|
||||
vim.diagnostic.config({
|
||||
virtual_text = true
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user