This commit is contained in:
notgne2 2022-03-18 03:58:41 -07:00
parent 76a519836f
commit e8e2d80a03
Signed by: notgne2
GPG Key ID: 5CE0A245A2DAC84A
2 changed files with 22 additions and 1 deletions

View File

@ -28,6 +28,8 @@ in
programs.vscode = { programs.vscode = {
package = pkgs.vscodium; package = pkgs.vscodium;
userSettings = { userSettings = {
"workbench.startupEditor" = "none";
"editor.bracketPairColorization.enabled" = true; "editor.bracketPairColorization.enabled" = true;
"editor.guides.bracketPairs" = "active"; "editor.guides.bracketPairs" = "active";
@ -40,6 +42,7 @@ in
"vim.easymotion" = true; "vim.easymotion" = true;
"vim.sneak" = true; "vim.sneak" = true;
"vim.hlsearch" = true; "vim.hlsearch" = true;
"vim.ignorecase" = true;
"vim.normalModeKeyBindings" = [ "vim.normalModeKeyBindings" = [
{ {
before = [ "<Tab>" ]; before = [ "<Tab>" ];
@ -58,12 +61,18 @@ in
"rust-client.disableRustup" = true; "rust-client.disableRustup" = true;
"editor.formatOnSave" = true; "editor.formatOnSave" = true;
# "vscode-dhall-lsp-server.executable" = "${pkgs.dhall-lsp-server}/bin/dhall-lsp-server";
# "purescript.pursExe" = "${pkgs.purescript}/bin/purs";
# "purescript.buildCommand" = "${pkgs.spago}/bin/spago build --purs-args --json-errors";
}; };
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
vscodevim.vim vscodevim.vim
jnoortheen.nix-ide jnoortheen.nix-ide
haskell.haskell haskell.haskell
justusadam.language-haskell justusadam.language-haskell
dhall.dhall-lang
dhall.vscode-dhall-lsp-server
( (
let let
attrs = lib.importJSON "${inputs.direnv-vscode}/package.json"; attrs = lib.importJSON "${inputs.direnv-vscode}/package.json";
@ -107,6 +116,18 @@ in
version = "1.0.7"; version = "1.0.7";
sha256 = "sha256-VaG/eTE2BGbHAYgFdS31c47rgLZVjHGK+/U8MSYKDt8="; sha256 = "sha256-VaG/eTE2BGbHAYgFdS31c47rgLZVjHGK+/U8MSYKDt8=";
} }
{
name = "ide-purescript";
publisher = "nwolverson";
version = "0.25.11";
sha256 = "sha256-9MgPAVfIdA7frR4EUDqVJB0N/LZY4NQSXtsKhEueNeg=";
}
{
name = "language-purescript";
publisher = "nwolverson";
version = "0.2.8";
sha256 = "sha256-2uOwCHvnlQQM8s8n7dtvIaMgpW8ROeoUraM02rncH9o=";
}
]; ];
}; };

View File

@ -17,7 +17,7 @@ in
hplip hplip
samsungUnifiedLinuxDriver samsung-unified-linux-driver
splix splix
brlaser brlaser