mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 20:10:05 +08:00
disable colors for ipython repl (#4134)
This commit is contained in:
parent
1ca32fce79
commit
618dd100c3
@ -85,7 +85,7 @@ function! SpaceVim#layers#lang#python#config() abort
|
||||
call SpaceVim#mapping#space#regesit_lang_mappings('python', function('s:language_specified_mappings'))
|
||||
call SpaceVim#layers#edit#add_ft_head_tamplate('python', s:python_file_head)
|
||||
if executable('ipython')
|
||||
call SpaceVim#plugins#repl#reg('python', 'ipython --no-term-title')
|
||||
call SpaceVim#plugins#repl#reg('python', 'ipython --no-term-title --colors=NoColor')
|
||||
elseif executable('python')
|
||||
call SpaceVim#plugins#repl#reg('python', ['python', '-i'])
|
||||
endif
|
||||
|
@ -56,7 +56,7 @@ function! SpaceVim#plugins#repl#send(type, ...) abort
|
||||
if !exists('s:job_id')
|
||||
echom('Please start REPL via the key binding "SPC l s i" first.')
|
||||
elseif s:job_id == 0
|
||||
echom('please retart the REPL')
|
||||
echom('please restart the REPL')
|
||||
else
|
||||
if a:type ==# 'line'
|
||||
call s:JOB.send(s:job_id, [getline('.'), ''])
|
||||
|
Loading…
Reference in New Issue
Block a user