feat(neovim): add csharp support

This commit is contained in:
Alexandre Cavalheiro 2024-09-30 19:28:55 -03:00
parent 935be8d906
commit 03f9f32099
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
4 changed files with 8 additions and 1 deletions

View file

@ -59,6 +59,10 @@ in
clang-tools
gcc # Needed for treesitter
# C#
csharp-ls
csharpier
# HTML/CSS/JSON
emmet-ls
vscode-langservers-extracted

View file

@ -59,6 +59,7 @@ in
"basedpyright",
"clangd",
"cmake",
"csharp_ls",
"cssls",
"eslint",
"html",

View file

@ -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

View file

@ -8,6 +8,7 @@ return {
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
-- Programming
"c",
"c_sharp",
"cmake",
"cpp",
"css",