This commit is contained in:
Felipe M 2024-02-25 09:44:35 +01:00
parent 83d6e3f7cf
commit bda21856b1
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
10 changed files with 155 additions and 0 deletions

View file

@ -0,0 +1,17 @@
local Util = require("lazy.util")
---@class PluginLspOpts
local opts = {
diagnostics = {
underline = true,
}
}
local configFn = function(_, opts)
Util.format.register(Util.lsp.formatter())
end
return {
opts = opts,
config = configFn,
}

View file

@ -0,0 +1,12 @@
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "lua", "go" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
return config