Add go html template support, finally
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user