From ce2efa9d90c48233a637c660f53f64eea6809983 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Thu, 18 Sep 2025 00:24:21 -0700 Subject: [PATCH] based chingeright --- users/tao/helix.nix | 5 +++++ users/tao/nushell/extras/stuff.nu | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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) {