diff --git a/users/tao/helix.nix b/users/tao/helix.nix index 13e2c2a..441e4de 100644 --- a/users/tao/helix.nix +++ b/users/tao/helix.nix @@ -83,6 +83,7 @@ { name = "python"; auto-format = true; + language-servers = [ "basedpyright" "ty" "ruff" ]; # formatter = { # command = "ruff"; # args = ["format"]; @@ -227,6 +228,10 @@ }; }; language-server = { + basedpyright = { + command = "basedpyright-langserver"; + args = ["--stdio"]; + }; rust-analyzer.config.check.command = "clippy"; # gas = { # command = "asm-lsp"; diff --git a/users/tao/nushell/extras/stuff.nu b/users/tao/nushell/extras/stuff.nu index 07a4878..8978c3e 100644 --- a/users/tao/nushell/extras/stuff.nu +++ b/users/tao/nushell/extras/stuff.nu @@ -39,7 +39,7 @@ def "snapper clear" [] { snapper delete $"($first.number)-($last.number)" } -const mode_path: path = "/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm2_enable" +const mode_path: path = "/sys/devices/platform/nct6775.656/hwmon/hwmon*/pwm2_enable" def quiet [] { match (hostname) {