mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16: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:
@@ -1,4 +0,0 @@
|
||||
return {
|
||||
cmd = { "markdownlint-language-server", "--stdio" },
|
||||
filetypes = { "markdown" },
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
return {
|
||||
cmd = { "prettier", "--lsp" },
|
||||
filetypes = {
|
||||
"javascript",
|
||||
"typescript",
|
||||
"css",
|
||||
"scss",
|
||||
"html",
|
||||
"json",
|
||||
"yaml",
|
||||
},
|
||||
root_markers = { ".prettierrc", "package.json" },
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
return {
|
||||
cmd = { "shellcheck", "--format=json", "-" },
|
||||
filetypes = { "sh", "bash", "zsh" },
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
return {
|
||||
cmd = { "shellharden", "--suggest" },
|
||||
filetypes = { "sh", "bash", "zsh" },
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
return {
|
||||
cmd = { "shfmt", "-l", "-" },
|
||||
filetypes = { "sh", "bash", "zsh" },
|
||||
}
|
||||
Reference in New Issue
Block a user