coc-extensions / coc-powershell

PowerShellEditorService integration for coc.vim
MIT License
58 stars 9 forks source link

How to turn off session buffer when open ps1 file ? #148

Open hungpham3112 opened 2 years ago

hungpham3112 commented 2 years ago

image

How to change CocConfig to remove this session by default? Because it auto-opens when I open ps1 file and no way to escape.

hungpham3112 commented 2 years ago

Can someone answer my question, please?

corbob commented 2 years ago

This looks like the integrated terminal. There's a setting to disable showing it listed on the readme (I can't get the direct link on mobile).

yatli commented 2 years ago

Add this to your coc-settings.json file:

{
    "powershell.integratedConsole.showOnStartup": false
}
hungpham3112 commented 2 years ago

Add this to your coc-settings.json file:

{
    "powershell.integratedConsole.showOnStartup": false
}

I already have that but I don't know why intergratedConsole still appears. Seem like a bug with lightline-bufferline. Maybe?

bandicam 2022-03-12 11-19-22-501