Skip to content

Commit

Permalink
Add bash lsp, shfmt, shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ggs committed May 14, 2024
1 parent 6c19517 commit daf5319
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions nvim/.config/nvim/lua/plugins/conform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ return {
lua = { "stylua" },
markdown = { "prettier" },
python = { "ruff_fix", "ruff_format" },
sh = { "shfmt", "shellcheck" },
yaml = { "prettier" },
["*"] = { "trim_whitespace", "typos" },
},
Expand Down
4 changes: 3 additions & 1 deletion nvim/.config/nvim/lua/plugins/mason-tool-installer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ return {
opts = {
ensure_installed = {
-- LSP servers
"css-lsp",
"bash-language-server",
"html-lsp",
"lua-language-server",
"pyright",
Expand All @@ -14,6 +14,8 @@ return {
-- Linters & formatters
"prettier",
"ruff",
"shellcheck",
"shfmt",
"stylua",
"typos",
},
Expand Down
4 changes: 4 additions & 0 deletions nvim/.config/nvim/lua/plugins/nvim-lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ return {
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
-- :help lspconfig-all

lspconfig.bashls.setup({
capabilities = capabilities,
})

lspconfig.cssls.setup({
capabilities = capabilities,
})
Expand Down

0 comments on commit daf5319

Please sign in to comment.