updated lsp version, added copy to clipboard keybind

This commit is contained in:
2025-05-23 23:34:29 +05:00
parent 97e5f06a61
commit c42731619c
12 changed files with 65 additions and 304 deletions

View File

@ -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}' ]])