Using as a REPL, don't auto-indent
- Vorherrschende Sprache
- Python
- Sterne
- 1.4k
- Forks
- 191
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I'm using this project in a pane in tmux, with Vim in another using https://github.com/jpalardy/vim-slime.
With all my other interactive shells (python, r, node, psql) there is a way to turn off the auto-indenting as the full indents are in my source files already, e.g. `set paste` in vim.
Here's what I'm dealing with. The top pane being an example from a source code file that I want to send down to the cli.

1. I don't see an option to turn off the auto-indent. Am I missing it?
2. If no to the above question, can you point me in the right direction to change it and I'll prep a PR to have this be a config option
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne damit, den Python-CLI-Code zu finden, der automatische Einrückung anwendet, und untersuche, wie vorhandene Konfigurationsoptionen definiert sind. Stelle den im Issue beschriebenen tmux- und Vim-slime-Workflow nach und überprüfe anschließend, ob eine Konfigurationsoption verhindern kann, dass eingefügtem oder gesendetem Quellcode eine Einrückung hinzugefügt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, sql
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100