normen / vim-pio

Vim Plugin for PlatformIO
51 stars 4 forks source link

Use termopen() instead of term_start() when on Neovim #1

Closed DarkFighterLuke closed 2 years ago

DarkFighterLuke commented 2 years ago

The term_start() function is called termopen() on Neovim, so this plugin doesn't work when using it on Neovim. It appears (from what I used) that the only incompatible thing is this function, so this PR fixes this incompatibility by checking the running editor and executing the proper command.

normen commented 2 years ago

Cool, thanks!