aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-05-23 23:49:38 +0200
committerGitHub <noreply@github.com>2022-05-23 23:49:38 +0200
commita20892c4bc2ece88920fdea61aa6c3ac68eb1bcc (patch)
tree24e51aa46b47fef6f88cd0e08f9b8c97dd7b7703 /runtime/ftplugin
parent37ee800b519c2e071ad6cfe623721521558bb12d (diff)
downloadrneovim-a20892c4bc2ece88920fdea61aa6c3ac68eb1bcc.tar.gz
rneovim-a20892c4bc2ece88920fdea61aa6c3ac68eb1bcc.tar.bz2
rneovim-a20892c4bc2ece88920fdea61aa6c3ac68eb1bcc.zip
vim-patch:partial 2d8ed0203aed (#18675)
* vim-patch:partial 2d8ed0203aed Update runtime files. https://github.com/vim/vim/commit/2d8ed0203aedd5f6c22efa99394a3677c17c7a7a Skip: runtime/doc/map.txt runtime/doc/syntax.txt runtime/doc/usr_51.txt runtime/doc/usr_52.txt runtime/syntax/help.vim runtime/syntax/vim.vim Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/spec.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/ftplugin/spec.vim b/runtime/ftplugin/spec.vim
index ce00021a69..9040e19ce1 100644
--- a/runtime/ftplugin/spec.vim
+++ b/runtime/ftplugin/spec.vim
@@ -3,6 +3,7 @@
" Maintainer: Igor Gnatenko i.gnatenko.brain@gmail.com
" Former Maintainer: Gustavo Niemeyer <niemeyer@conectiva.com> (until March 2014)
" Last Change: Mon Jun 01 21:15 MSK 2015 Igor Gnatenko
+" Update by Zdenek Dohnal, 2022 May 17
if exists("b:did_ftplugin")
finish
@@ -41,8 +42,8 @@ else:
headers = spec.sourceHeader
version = headers["Version"]
release = headers["Release"]
- vim.command("let ver = " + version)
- vim.command("let rel = " + release)
+ vim.command("let ver = '" + version + "'")
+ vim.command("let rel = '" + release + "'")
PYEND
endif
endfunction