Files
dotfiles/.config/nvim/lua/user/lsp/init.lua

13 lines
367 B
Lua

local status_ok, mason = pcall(require, "mason")
if not status_ok then
return
end
mason.setup()
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
vim.cmd([[ command! Format execute 'lua vim.lsp.buf.format{async=true}' ]])