numToStr / FTerm.nvim

:fire: No-nonsense floating terminal plugin for neovim :fire:
MIT License
721 stars 24 forks source link

feat: allow `cmd` to be a table #41

Closed numToStr closed 2 years ago

numToStr commented 2 years ago

This allows the following

require('FTerm').scratch({ cmd = {'cargo', 'build', '--target', os.getenv('RUST_TARGET')} })
require('FTerm').run({'node', vim.api.nvim_get_current_buf()})