diff options
| author | Byron Torres <b@torresjrjr.com> | 2023-10-28 14:04:38 +0100 |
|---|---|---|
| committer | Byron Torres <b@torresjrjr.com> | 2023-10-28 14:20:54 +0100 |
| commit | 706091ac85d10eb724ce51b45cab33e7a08ae87f (patch) | |
| tree | b454e972758204c2492250480f941d3c10cfa0b4 | |
| parent | fix: unset $LESS for popup windows (diff) | |
| download | vim-haredoc-706091ac85d10eb724ce51b45cab33e7a08ae87f.tar.gz | |
fix: strip null from system output
| -rw-r--r-- | plugin/haredoc.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/haredoc.vim b/plugin/haredoc.vim index ac69248..3502184 100644 --- a/plugin/haredoc.vim +++ b/plugin/haredoc.vim @@ -27,7 +27,7 @@ function Haredoc(symbol) print $1 "::" "{base}" }}' {expand("%")} 2>&- CMD - let joined_symbol = system(join(resolvecmd)) + let joined_symbol = system(join(resolvecmd))[:-2] if len(joined_symbol) != 0 let symbol = joined_symbol endif |
