diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-01 18:17:40 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-01 18:17:40 +0200 |
commit | af0eaee01737d26314c9c3618153e99d1eb3e2f1 (patch) | |
tree | e45903bbc85886dcb6568c1f3c3f867b2649f2ca /ftplugin/vlang.vim | |
parent | 730dcb02caab60a6ae5d8b4bdc16d290041061ec (diff) | |
download | vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.tar.gz vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.zip |
Update
Diffstat (limited to 'ftplugin/vlang.vim')
-rw-r--r-- | ftplugin/vlang.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |