From 19553585044e08ab6e41d3be408d58ee51c7ead3 Mon Sep 17 00:00:00 2001 From: Ali Shahid <41078534+shaeinst@users.noreply.github.com> Date: Mon, 14 Feb 2022 23:50:51 +0545 Subject: [PATCH] add neovim integration --- docs/src/docs/integrations.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/docs/integrations.md b/docs/src/docs/integrations.md index a94c536..b186ded 100644 --- a/docs/src/docs/integrations.md +++ b/docs/src/docs/integrations.md @@ -72,6 +72,11 @@ Ensure djLint is installed in your global python, or on your `PATH`. [GitHub repository](https://github.com/monosans/djlint-vscode) +## neovim +djLint can use used as formatter in neovim using null-ls plugin. +https://github.com/jose-elias-alvarez/null-ls.nvim/ +[config](https://github.com/shaeinst/roshnivim/blob/5d991fcfa1b8f865f9653a98c6d97a829d4a2add/lua/plugins/null-ls_nvim.lua#L84-L91) example + ## coc.nvim https://www.npmjs.com/package/coc-htmldjango