dbcli / mssql-cli

A command-line client for SQL Server with auto-completion and syntax highlighting
BSD 3-Clause "New" or "Revised" License
1.35k stars 191 forks source link

Using as a REPL, don't auto-indent #514

Open kruser opened 3 years ago

kruser commented 3 years ago

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

  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