From ed693b371af7497ae88dbeabc3871695ccd0667e Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 10 Sep 2025 12:07:08 +0100 Subject: [PATCH] Enable djlint as linter for django templates --- home/dot_config/nvim/lua/plugins/linters.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 home/dot_config/nvim/lua/plugins/linters.lua diff --git a/home/dot_config/nvim/lua/plugins/linters.lua b/home/dot_config/nvim/lua/plugins/linters.lua new file mode 100644 index 0000000..197aa7e --- /dev/null +++ b/home/dot_config/nvim/lua/plugins/linters.lua @@ -0,0 +1,8 @@ +return { + { + "mfussenegger/nvim-lint", + opts = { + linters_by_ft = { htmldjango = { "djlint" } }, + }, + }, +}