add lua lsp and vscode settings

This commit is contained in:
Kopatz
2025-02-17 17:09:57 +01:00
parent c9fdecc704
commit 72bb0743b6
3 changed files with 9 additions and 1 deletions

View File

@@ -4,6 +4,13 @@
enable = true;
package = pkgs.vscodium;
#userSettings = { typst-lsp.exportPdf = "onType"; };
userSettings = {
"Lua.workspace.library" = [
"/home/kopatz/.vscode-oss/extensions/evaisa.vscode-noita-api-1.4.2/out/NoitaLua"
];
"editor.mouseWheelZoom" = true;
"files.autoSave" = "afterDelay";
};
extensions = with pkgs.vscode-extensions; [
jnoortheen.nix-ide
rust-lang.rust-analyzer

View File

@@ -17,6 +17,7 @@
dartls.enable = true;
ts_ls.enable = true;
pylsp.enable = true;
lua_ls.enable = true;
csharp_ls = {
enable = true;
package = pkgs.stable.csharp-ls;

View File

@@ -24,7 +24,7 @@
update = "sudo nixos-rebuild switch";
updateFancy = "nh os switch";
updateOffline = "sudo nixos-rebuild switch --option substitute false";
goto = "cd $(find ~/projects -maxdepth 2 -type d | ${pkgs.fzf}/bin/fzf)";
goto = "cd $(find -L ~/projects -maxdepth 2 -type d | ${pkgs.fzf}/bin/fzf)";
dev = "nix-shell --run zsh";
rmt = "trash put";
bat = "bat -P --style plain";