dbcli / dbcli/mssql-cli

Using as a REPL, don't auto-indent

Open
#514 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
191
PR merge metrics
No merged PRs in 30d

Description

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.
![image](https://user-images.githubusercontent.com/2208700/114477031-1c41cd80-9bc1-11eb-8966-6fbfc5d156a5.png)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.