updated lsp version, added copy to clipboard keybind
This commit is contained in:
@ -3,21 +3,10 @@ if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
local status_ok, mason_lspconfig = pcall(require, "mason-lspconfig")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
local status_ok, lspconfig = pcall(require, "lspconfig")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
mason.setup()
|
||||
mason_lspconfig.setup()
|
||||
|
||||
vim.cmd([[ command! Format execute 'lua vim.lsp.buf.format{async=true}' ]])
|
||||
|
||||
require("user.lsp.mason_lsp_config")
|
||||
require("user.lsp.diagnostics_config").setup()
|
||||
-- require("user.none_ls") -- TODO: For now only uses python isort, uncomment when new stuff will be used
|
||||
|
||||
require("user.lsp.handlers").setup()
|
||||
vim.cmd([[ command! Format execute 'lua vim.lsp.buf.format{async=true}' ]])
|
||||
|
||||
Reference in New Issue
Block a user