aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua')
-rw-r--r--nvim/lua/plugins/format.lua8
-rw-r--r--nvim/lua/plugins/lsp.lua2
2 files changed, 5 insertions, 5 deletions
diff --git a/nvim/lua/plugins/format.lua b/nvim/lua/plugins/format.lua
index bdfaf03..2d6a55c 100644
--- a/nvim/lua/plugins/format.lua
+++ b/nvim/lua/plugins/format.lua
@@ -3,13 +3,13 @@ return {
3 event = { "BufReadPre", "BufNewFile" }, 3 event = { "BufReadPre", "BufNewFile" },
4 opts = { 4 opts = {
5 formatters_by_ft = { 5 formatters_by_ft = {
6 sh = { "shfmt" }, -- brew install 6 sh = { "shfmt" }, -- brew install, pkg install shfmt
7 bash = { "shfmt" }, 7 bash = { "shfmt" },
8 python = { "ruff_format", "black" }, -- brew install ruff 8 python = { "ruff_format", "black" }, -- brew install ruff, pkg install ruff
9 lua = { "stylua" }, -- brew install stylua 9 lua = { "stylua" }, -- brew install stylua, pkg install stylua
10 typescript = { "prettierd", "prettier" }, 10 typescript = { "prettierd", "prettier" },
11 javascript = { "prettierd", "prettier" }, 11 javascript = { "prettierd", "prettier" },
12 json = { "jq" }, -- brew install jq 12 json = { "jq" }, -- brew install jq, pkg install jq
13 -- cpp = { "clang_format" }, 13 -- cpp = { "clang_format" },
14 }, 14 },
15 }, 15 },
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua
index 30e3924..4872a25 100644
--- a/nvim/lua/plugins/lsp.lua
+++ b/nvim/lua/plugins/lsp.lua
@@ -23,7 +23,7 @@ return {
23 vim.lsp.config.bashls = { 23 vim.lsp.config.bashls = {
24 settings = { 24 settings = {
25 bashIde = { 25 bashIde = {
26 shellcheck = { 26 shellcheck = { -- pkg install hs-ShellSheck
27 enable = true, 27 enable = true,
28 severity = { 28 severity = {
29 error = "error", 29 error = "error",