add lua lsp and vscode settings
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user