fix(neovim): LSP, Formatter, Linter all in their places

- Formatter: Don't need both prettier & prettierd. Only use prettierd
- Formatter: markdown-toc is LSP not formatter
- Formatter: shellharden isn't formatter
- Formatter: Only shfmt for shell formatting
- Formatter: Don't need prettier to format yaml
- Linter: codespell on all buffers
- Install script: Remove prettier & shellharden (its useless with bashls)
- LSP: markdownlint, prettier, shellcheck, shellharden, shfmt aren't LSP
This commit is contained in:
Pratik Tripathy
2025-09-10 23:58:43 +05:30
parent de0ae11f4a
commit 79d80bd7de
9 changed files with 27 additions and 88 deletions

View File

@@ -4,6 +4,7 @@
-- Step 2: Append the LSP server name in the below array ("newlsp")
-- Step 3: Create file ("newlsp.lua") in ../../lsp/
-- Step 4: Return a lua table containing required lsp config in it
-- NOTE: Only LSPs here, NOT linters or formatter
vim.lsp.enable({
"bashls",
"cssls",
@@ -12,13 +13,8 @@ vim.lsp.enable({
"html",
"jsonls",
"lua_ls",
"markdownlint",
"marksman",
"prettier",
"pylsp",
"shellcheck",
"shellharden",
"shfmt",
"taplo",
"trivy",
"ts_ls",