Merge pull request #186 from shaeinst/patch-1

add neovim integration
This commit is contained in:
sur.la.route 2022-02-14 14:50:04 -06:00 committed by GitHub
commit 12341236f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 6 deletions

View file

@ -68,10 +68,25 @@ Ensure djLint is installed in your global python, or on your `PATH`.
## Visual Studio Code
[Marketplace page](https://marketplace.visualstudio.com/items?itemName=monosans.djlint)
::: content
[GitHub repository](https://github.com/monosans/djlint-vscode)
- [Marketplace page](https://marketplace.visualstudio.com/items?itemName=monosans.djlint)
- [GitHub repository](https://github.com/monosans/djlint-vscode)
:::
## neovim
djLint can use used as formatter in neovim using the ``null-ls`` plugin.
::: content
- [GitHub repository](https://github.com/jose-elias-alvarez/null-ls.nvim/)
- [Config example](https://github.com/shaeinst/roshnivim/blob/5d991fcfa1b8f865f9653a98c6d97a829d4a2add/lua/plugins/null-ls_nvim.lua#L84-L91)
:::
## coc.nvim
https://www.npmjs.com/package/coc-htmldjango
::: content
- [npm package](https://www.npmjs.com/package/coc-htmldjango)
:::

View file

@ -68,10 +68,24 @@ djLint можно использовать в качестве плагина Su
## Visual Studio Code
[Страница рынка](https://marketplace.visualstudio.com/items?itemName=monosans.djlint)
::: content
[GitHub репозиторий](https://github.com/monosans/djlint-vscode)
- [Страница рынка](https://marketplace.visualstudio.com/items?itemName=monosans.djlint)
- [GitHub репозиторий](https://github.com/monosans/djlint-vscode)
:::
## neovim
djLint можно использовать в качестве форматера в neovim с помощью плагина ``null-ls``.
::: content
- [GitHub репозиторий](https://github.com/jose-elias-alvarez/null-ls.nvim/)
- [Пример конфигурации](https://github.com/shaeinst/roshnivim/blob/5d991fcfa1b8f865f9653a98c6d97a829d4a2add/lua/plugins/null-ls_nvim.lua#L84-L91)
:::
## coc.nvim
https://www.npmjs.com/package/coc-htmldjango
::: content
- [npm package](https://www.npmjs.com/package/coc-htmldjango)
:::