]> Sergey Matveev's repositories - dotfiles.git/blob - vim/.vim/pack/stargrave/start/zshfe/autoload/zshfe.vim
Move to vim9script
[dotfiles.git] / vim / .vim / pack / stargrave / start / zshfe / autoload / zshfe.vim
1 vim9script
2
3 export def Do(query: string, opencmd: string)
4     silent var result = systemlist(g:zshfe_path .. " " .. query)
5     if len(result) == 0 | return | endif
6     execute opencmd .. " " .. result[0][: -2]
7 enddef