feat(nvim): LSP, completion, linting, formatting for Dotnet, JSON,

markdown, SQL
This commit is contained in:
Pratik Tripathy
2024-12-28 16:48:50 +05:30
parent 11a166080f
commit 3fd3aa04f5
7 changed files with 126 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ return {
event = { "BufWritePre" },
opts = {
formatters_by_ft = {
cs = { "csharpier" },
javascript = { "prettierd", "prettier", stop_after_first = true },
typescript = { "prettierd", "prettier", stop_after_first = true },
javascriptreact = { "prettierd", "prettier", stop_after_first = true },
@@ -59,6 +60,10 @@ return {
"-gitignore_excludes",
},
},
csharpier = {
command = "dotnet-csharpier",
args = { "--write-stdout" },
},
},
},
},