From e3891fb855a14773774184000f143bddf9f3372f Mon Sep 17 00:00:00 2001 From: azahi Date: Sat, 26 Oct 2024 02:25:43 +0300 Subject: 2024-10-26 --- modules/vscode.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'modules/vscode.nix') 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; { -- cgit 1.4.1