1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

feat(powershell): Adding quite options to powershell exec

Customized profiles can/do break in non-standard terminals, increase execution time, and usually don't help in this context. I'm suggesting a change to an "embedded" or "script" style launching of powershell to accommodate this.
This commit is contained in:
Lyle McKarns 2023-02-21 01:03:31 -05:00 committed by GitHub
parent 1c0b17d6be
commit d757a9a17b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ endfunction
function! SpaceVim#layers#lang#powershell#config() abort
call SpaceVim#plugins#repl#reg('powershell', 'powershell')
call SpaceVim#plugins#repl#reg('powershell', 'powershell -NoLogo -NoProfile -NonInteractive')
call SpaceVim#plugins#runner#reg_runner('powershell', 'powershell %s')
call SpaceVim#mapping#space#regesit_lang_mappings('powershell', function('s:language_specified_mappings'))
endfunction