fix
This commit is contained in:
parent
95c4367554
commit
bf2db98b60
1 changed files with 2 additions and 0 deletions
2
init.lua
2
init.lua
|
@ -386,6 +386,8 @@ local on_attach = function(client, bufnr)
|
||||||
set("n", "<leaaer>]", "<cmd>Lspsaga diagnostic_jump_next<CR>")
|
set("n", "<leaaer>]", "<cmd>Lspsaga diagnostic_jump_next<CR>")
|
||||||
end
|
end
|
||||||
vim.diagnostic.config({ virtual_text = false })
|
vim.diagnostic.config({ virtual_text = false })
|
||||||
|
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||||
|
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||||
require("mason").setup()
|
require("mason").setup()
|
||||||
require("mason-null-ls").setup({
|
require("mason-null-ls").setup({
|
||||||
ensure_installed = { "prettierd", "rubocop", "black", "goimports", "stylua", "shfmt" },
|
ensure_installed = { "prettierd", "rubocop", "black", "goimports", "stylua", "shfmt" },
|
||||||
|
|
Loading…
Reference in a new issue