added csharp dev stuff :3
This commit is contained in:
parent
bc5980e5db
commit
56bb68002f
4 changed files with 19 additions and 0 deletions
|
|
@ -131,6 +131,7 @@
|
||||||
zig
|
zig
|
||||||
elixir
|
elixir
|
||||||
gleam
|
gleam
|
||||||
|
dotnet-sdk
|
||||||
delta # git diff viewer
|
delta # git diff viewer
|
||||||
tlrc # tldr rust client
|
tlrc # tldr rust client
|
||||||
shellcheck
|
shellcheck
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,12 @@ if nixCats("lang.java.lsp") then
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if nixCats("lang.csharp.lsp") then
|
||||||
|
servers.roslyn_ls = {
|
||||||
|
settings = {},
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
if nixCats("lang.protobuf.lsp") then
|
if nixCats("lang.protobuf.lsp") then
|
||||||
servers.buf_ls = {
|
servers.buf_ls = {
|
||||||
settings = {},
|
settings = {},
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ return {
|
||||||
return formatters
|
return formatters
|
||||||
end)(),
|
end)(),
|
||||||
haskell = nixCats("lang.haskell.format") and { "ormolu" } or nil,
|
haskell = nixCats("lang.haskell.format") and { "ormolu" } or nil,
|
||||||
|
csharp = nixCats("lang.csharp.format") and { "csharpier" } or nil,
|
||||||
proto = nixCats("lang.protobuf.format") and { "buf" } or nil,
|
proto = nixCats("lang.protobuf.format") and { "buf" } or nil,
|
||||||
toml = nixCats("lang.toml.format") and { "taplo" } or nil,
|
toml = nixCats("lang.toml.format") and { "taplo" } or nil,
|
||||||
sql = nixCats("lang.sql.format") and { "sqlfluff" } or nil,
|
sql = nixCats("lang.sql.format") and { "sqlfluff" } or nil,
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,14 @@ in {
|
||||||
];
|
];
|
||||||
# TODO: needs formatter field
|
# TODO: needs formatter field
|
||||||
};
|
};
|
||||||
|
csharp = {
|
||||||
|
lsp = [
|
||||||
|
roslyn-ls
|
||||||
|
];
|
||||||
|
format = [
|
||||||
|
csharpier
|
||||||
|
];
|
||||||
|
};
|
||||||
protobuf = {
|
protobuf = {
|
||||||
lsp = [buf];
|
lsp = [buf];
|
||||||
format = [buf];
|
format = [buf];
|
||||||
|
|
@ -301,6 +309,9 @@ in {
|
||||||
java.lsp = true;
|
java.lsp = true;
|
||||||
java.format = true;
|
java.format = true;
|
||||||
|
|
||||||
|
csharp.lsp = true;
|
||||||
|
csharp.format = true;
|
||||||
|
|
||||||
protobuf.lsp = true;
|
protobuf.lsp = true;
|
||||||
protobuf.format = true;
|
protobuf.format = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue