Skip to content

Commit

Permalink
feat(nvim): Add formatting on null-ls and mason pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima committed Sep 7, 2024
1 parent 9d79c46 commit 549b995
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/nvim/lua/base/null.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@ return {
},
require("null-ls").builtins.diagnostics.markdownlint,
require("null-ls").builtins.diagnostics.yamllint,
require("null-ls").builtins.formatting.black,
require("null-ls").builtins.formatting.clang_format,
require("null-ls").builtins.formatting.gersemi,
require("null-ls").builtins.formatting.isort,
require("null-ls").builtins.formatting.prettierd,
require("null-ls").builtins.formatting.shfmt,
},
}
7 changes: 7 additions & 0 deletions config/nvim/lua/chadrc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,22 @@ M.base46 = {

M.mason = {
pkgs = {
"bash-language-server",
"black",
"clang-format",
"clangd",
"cmake-language-server",
"commitlint",
"editorconfig-checker",
"gersemi",
"isort",
"lua-language-server",
"markdownlint",
"prettierd",
"shellcheck",
"shfmt",
"yaml-language-server",
"yamlfmt",
"yamllint",
},
}
Expand Down

0 comments on commit 549b995

Please sign in to comment.