commit 61003383880167765e4bab4dfe679d3ef1f481cc parent 119b6c8c5bc043ff702236cd1e4912ece13ae992 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Sat, 29 Feb 2020 01:31:06 +0100 Fixed issue with multiple spaces in link line Diffstat:
M | autoload/schemer.vim | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/autoload/schemer.vim b/autoload/schemer.vim @@ -2593,9 +2593,9 @@ function! Schemer#ProcessFile(file) abort endif endwhile elseif line =~ "^link" - let splitline = line->split(' ') - let from = splitline[1] - let to = splitline[2] + let splitline = line->split() + let from = splitline[1]->trim() + let to = splitline[2]->trim() for from_group in from->split(',') let links[from_group] = to