mfussenegger / nvim-dap-python

An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.
GNU General Public License v3.0
571 stars 51 forks source link

Cannot set console to nil #77

Closed stickperson closed 1 year ago

stickperson commented 1 year ago

default_test_opts and default_setup_opts both set console to integratedTerminal. When calling setup or test_method and passing in {console = nil} as options, integratedTerminal is still used. This is because vim.tbl_extend seems to overwrite the passed in option only if it is not nil.

mfussenegger commented 1 year ago

You can set it to internalConsole if you don't want to use the integrated terminal