From af0eaee01737d26314c9c3618153e99d1eb3e2f1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 1 Jun 2021 18:17:40 +0200 Subject: Update --- ftplugin/vlang.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin/vlang.vim') diff --git a/ftplugin/vlang.vim b/ftplugin/vlang.vim index fbc0a711..2ae86f99 100644 --- a/ftplugin/vlang.vim +++ b/ftplugin/vlang.vim @@ -24,7 +24,7 @@ function! _VFormatFile() else let [_, lnum, colnum, _] = getpos('.') %delete - call append(0, split(substitution, "\n")) + call setline(1, split(substitution, "\n")) call cursor(lnum, colnum) endif endif -- cgit v1.2.3