Enable djlint as linter for django templates
This commit is contained in:
parent
7a9b9eb00a
commit
ed693b371a
1 changed files with 8 additions and 0 deletions
8
home/dot_config/nvim/lua/plugins/linters.lua
Normal file
8
home/dot_config/nvim/lua/plugins/linters.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"mfussenegger/nvim-lint",
|
||||||
|
opts = {
|
||||||
|
linters_by_ft = { htmldjango = { "djlint" } },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue