diff options
| author | Max Schillinger <max@mxsr.de> | 2023-10-28 16:00:56 +0200 |
|---|---|---|
| committer | Byron Torres <b@torresjrjr.com> | 2023-10-28 17:55:11 +0100 |
| commit | 67013baf7d5136c8b992d1ae1ff6d957234d8241 (patch) | |
| tree | 9ccd6a4c24bfe344f57389a19ccb78755d86d3cb | |
| parent | fix: rm helptext "partial symbols" paragraph (diff) | |
| download | vim-haredoc-67013baf7d5136c8b992d1ae1ff6d957234d8241.tar.gz | |
neovim: use :terminal in split window
| -rw-r--r-- | plugin/haredoc.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/haredoc.vim b/plugin/haredoc.vim index 3502184..ae8b4f7 100644 --- a/plugin/haredoc.vim +++ b/plugin/haredoc.vim @@ -76,6 +76,9 @@ function Haredoc(symbol) nnoremap <buffer> q :close<CR> nnoremap <buffer> <nowait> u <C-U> nnoremap <buffer> <nowait> d <C-D> + elseif has('nvim') + split + execute 'terminal haredoc '..symbol else execute '!haredoc '..symbol endif |
