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

13 lines
291 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.lsp.none_ls")
vim.cmd([[ command! Format execute 'lua vim.lsp.buf.format{async=true}' ]])