summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-03-21 10:40:22 +0000
committertslil <tslil@posteo.de>2026-03-22 11:54:41 +0000
commitd2697ade5056e676c5cd8afc421051ae4fa1addc (patch)
treeb9c3f6848c93f250d50ecc997e72e6c9300301fd
parent1a3c5b8058ae456333d737434e139a0cd81f3169 (diff)
[emacs] fix rust bindings, use basedpyright
-rw-r--r--emacs/inits/20-programming.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el
index 13eff16..ffa99e7 100644
--- a/emacs/inits/20-programming.el
+++ b/emacs/inits/20-programming.el
@@ -1,4 +1,4 @@
-;; Time-stamp: <2025-10-22 20h53 BST (65b14275)>
+;; Time-stamp: <2026-03-21 08h23 GMT (8a60818d)>
;; -----------------------------------------------------------------------------
;; General setup
@@ -26,7 +26,7 @@
(add-to-list 'eglot-server-programs
'(bqn-mode . ("bqnlsp")))
(add-to-list 'eglot-server-programs
- '(python-ts-mode . ("pyright-langserver" "--stdio"))))
+ '(python-ts-mode . ("basedpyright-langserver" "--stdio"))))
(use-package treesit-auto
:custom
@@ -246,9 +246,9 @@
:init
(setq rust-mode-treesitter-derive t)
:bind (:map rust-mode-map
- ("M-," . lh-backward-delim)
- ("M-." . lh-forward-delim)
- ("M-m" . lh-matching-delim)
+ ("C-c l b" . lh-backward-delim)
+ ("C-c l f" . lh-forward-delim)
+ ("C-c l m" . lh-matching-delim)
("M-p" . beginning-of-defun)
("M-n" . end-of-defun)
("C-c r c" . rust-compile)