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