Add go html template support, finally

This commit is contained in:
Pablu
2026-01-21 23:12:17 +01:00
parent eba4afff84
commit d9485a9253
6 changed files with 32 additions and 17 deletions

View File

@@ -4,7 +4,8 @@ return {
require("conform").setup {
formatters_by_ft = {
lua = { "stylua" },
python = { "isort", "black", lsp_format = "fallback" }
python = { "isort", "black", lsp_format = "fallback" },
gotmpl = { "djlint" }
},
format_on_save = {
timeout_ms = 500,

View File

@@ -10,7 +10,7 @@ return {
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
group = lint_augroup,
callback = function()
lint.try_lint()
lint.try_lint(nil, {ignore_errors = true})
end,
})
end

View File

@@ -2,7 +2,7 @@ return {
"neovim/nvim-lspconfig",
config = function()
vim.lsp.enable({ "lua_ls", "basedpyright", "gopls", "html", "yamlls", "svelte-language-server", "clangd",
"ansiblels", "vtsls", "zls", "glsl_analyzer" })
"ansiblels", "vtsls", "zls", "glsl_analyzer", "rust_analyzer" })
-- Testing basedpyright atm, change to jedi idk
vim.lsp.config("basedpyright", {