mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
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:
@@ -8,19 +8,12 @@ return {
|
||||
|
||||
-- Linters are only required for dynamically typed languages
|
||||
lint.linters_by_ft = {
|
||||
python = { "pylint", "codespell" },
|
||||
markdown = { "markdownlint", "codespell" },
|
||||
python = { "pylint" },
|
||||
markdown = { "markdownlint" },
|
||||
yaml = { "yamllint" },
|
||||
lua = { "codespell" },
|
||||
bash = { "codespell" },
|
||||
sh = { "codespell" },
|
||||
zsh = { "codespell" },
|
||||
typescript = { "codespell" },
|
||||
javascript = { "codespell" },
|
||||
typescriptreact = { "codespell" },
|
||||
javascriptreact = { "codespell" },
|
||||
dockerfile = { "hadolint" },
|
||||
html = { "codespell" },
|
||||
|
||||
["*"] = { "codespell" },
|
||||
}
|
||||
|
||||
local markdownlint = lint.linters.markdownlint
|
||||
|
||||
Reference in New Issue
Block a user