diff options
author | azahi <azat@bahawi.net> | 2024-10-26 02:25:43 +0300 |
---|---|---|
committer | azahi <azat@bahawi.net> | 2024-10-26 02:25:43 +0300 |
commit | e3891fb855a14773774184000f143bddf9f3372f (patch) | |
tree | 46d2f5a79bffd9cf304f0f4b116a3c490e1187bf /modules/vscode.nix | |
parent | 2024-10-22 (diff) |
2024-10-26
Diffstat (limited to 'modules/vscode.nix')
-rw-r--r-- | modules/vscode.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/vscode.nix b/modules/vscode.nix index 393b32f..3b0c3e1 100644 --- a/modules/vscode.nix +++ b/modules/vscode.nix @@ -51,9 +51,8 @@ in editorconfig.editorconfig efoerster.texlab github.vscode-pull-request-github - gitlab.gitlab-workflow golang.go - # graphql.vscode-graphql + graphql.vscode-graphql graphql.vscode-graphql-execution graphql.vscode-graphql-syntax hashicorp.hcl @@ -75,12 +74,16 @@ in streetsidesoftware.code-spell-checker-russian streetsidesoftware.code-spell-checker-scientific-terms tamasfe.even-better-toml - # task.vscode-task - # vscode-org-mode.org-mode + task.vscode-task + vscode-org-mode.org-mode ] ++ optional cfg.vim.enable vscodevim.vim; userSettings = { + # Something tries to write this every startup. I can't be arsed to + # figure out what, so I'll leave this like this. + "accessibility.signals.terminalBell".sound = "on"; + editor = { codeLens = false; cursorStyle = "block"; @@ -184,8 +187,10 @@ in }; nix = { + formatterPath = getExe pkgs.nixfmt; enableLanguageServer = true; - serverPath = getExe pkgs.nil; + serverPath = getExe pkgs.nixd; + serverSettings.nixd.formatting.command = getExe pkgs.nixfmt; }; python = with pkgs.python311Packages; { |