jangidB
jangid@alien.top
Joined
2 posts • 4 comments
Following is my configuration for Python; I am using Emacs 29.1 --with-tree-sitter:
(use-package treesit
:config
(setq treesit-language-source-alist
'((python . ("https://github.com/tree-sitter/tree-sitter-python.git"))))
(add-to-list 'auto-mode-alist
`("\\.py[iw]?\\'\\|python[0-9.]*" . python-ts-mode)))
(use-package eglot
:hook ((python-mode . eglot-ensure) ; pip install 'python-language-server[all]'
(python-ts-mode . eglot-ensure)))
If Magit is functioning correctly, it shouldn’t error out when both the remote and local repos have been updated post the last sync. Currently, to resolve this, I resort to the CLI and run git pull --no-rebase
, which prompts for a comment and creates a new commit upon saving.
I want exactly this behavior inside Magit. Is there a setting to do that?