1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-11-29 17:19:44 +01:00

nvim: added shell formatter

This commit is contained in:
2024-03-09 03:52:26 +01:00
parent 3ce32917a1
commit 34c63dd99f
3 changed files with 43 additions and 30 deletions

View File

@@ -9,7 +9,7 @@ return {
require("null-ls").setup({
sources = {
-- latex
require("null-ls").builtins.formatting.latexindent,
-- require("null-ls").builtins.formatting.latexindent,
-- lua
require("null-ls").builtins.formatting.stylua,
-- markdown
@@ -17,6 +17,8 @@ return {
-- python
require("null-ls").builtins.formatting.isort,
require("null-ls").builtins.formatting.yapf,
-- shell
-- require("null-ls").builtins.formatting.beautysh,
-- yaml
require("null-ls").builtins.formatting.yamlfmt,
}
@@ -37,6 +39,8 @@ return {
-- python
"isort",
"yapf",
-- shell
"beautysh",
-- yaml
"yamlfmt",
}