-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvscode.nix
28 lines (26 loc) · 887 Bytes
/
vscode.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ pkgs, ... }:
{
programs.vscode = {
enable = true;
extensions = (with pkgs.vscode-extensions; [
]) ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ ];
userSettings = {
files.eol = "\n";
editor.insertSpaces = true;
editor.formatOnSave = true;
editor.formatOnPaste = true;
vscode-neovim.neovimExecutablePaths.darwin = "${pkgs.neovim}/bin/nvim";
vscode-neovim.neovimInitPath = "~/.config/nvim/init.vim";
"[csharp]" = {
"editor.tabSize" = 4;
"editor.defaultFormatter" = "ms-dotnettools.csharp";
};
csharp.semanticHighlighting.enabled = true;
omnisharp.enableDecompilationSupport = true;
omnisharp.enableAsyncCompletion = true;
omnisharp.enableRoslynAnalyzers = true;
omnisharp.enableImportCompletion = true;
omnisharp.organizeImportsOnFormat = true;
};
};
}