feat(neovim): add csharp support
This commit is contained in:
parent
935be8d906
commit
03f9f32099
|
@ -59,6 +59,10 @@ in
|
||||||
clang-tools
|
clang-tools
|
||||||
gcc # Needed for treesitter
|
gcc # Needed for treesitter
|
||||||
|
|
||||||
|
# C#
|
||||||
|
csharp-ls
|
||||||
|
csharpier
|
||||||
|
|
||||||
# HTML/CSS/JSON
|
# HTML/CSS/JSON
|
||||||
emmet-ls
|
emmet-ls
|
||||||
vscode-langservers-extracted
|
vscode-langservers-extracted
|
||||||
|
|
|
@ -59,6 +59,7 @@ in
|
||||||
"basedpyright",
|
"basedpyright",
|
||||||
"clangd",
|
"clangd",
|
||||||
"cmake",
|
"cmake",
|
||||||
|
"csharp_ls",
|
||||||
"cssls",
|
"cssls",
|
||||||
"eslint",
|
"eslint",
|
||||||
"html",
|
"html",
|
||||||
|
|
|
@ -16,10 +16,11 @@ return {
|
||||||
config.sources = {
|
config.sources = {
|
||||||
-- Set a formatter
|
-- Set a formatter
|
||||||
require("none-ls.diagnostics.flake8"),
|
require("none-ls.diagnostics.flake8"),
|
||||||
|
require("none-ls.formatting.ruff"),
|
||||||
null_ls.builtins.formatting.clang_format,
|
null_ls.builtins.formatting.clang_format,
|
||||||
|
null_ls.builtins.formatting.csharpier,
|
||||||
null_ls.builtins.formatting.nixfmt,
|
null_ls.builtins.formatting.nixfmt,
|
||||||
null_ls.builtins.formatting.prettier,
|
null_ls.builtins.formatting.prettier,
|
||||||
require("none-ls.formatting.ruff"),
|
|
||||||
null_ls.builtins.formatting.stylua,
|
null_ls.builtins.formatting.stylua,
|
||||||
}
|
}
|
||||||
return config -- return final config table
|
return config -- return final config table
|
||||||
|
|
|
@ -8,6 +8,7 @@ return {
|
||||||
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
||||||
-- Programming
|
-- Programming
|
||||||
"c",
|
"c",
|
||||||
|
"c_sharp",
|
||||||
"cmake",
|
"cmake",
|
||||||
"cpp",
|
"cpp",
|
||||||
"css",
|
"css",
|
||||||
|
|
Loading…
Reference in a new issue