Mercurial > vim
view runtime/tools/vimm @ 19481:c27837cbe922 v8.2.0298
patch 8.2.0298: Vim9 script: cannot start command with a string constant
Commit: https://github.com/vim/vim/commit/0c6ceaf90389b41545d803458c4813013811c756
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 22 18:36:32 2020 +0100
patch 8.2.0298: Vim9 script: cannot start command with a string constant
Problem: Vim9 script: cannot start command with a string constant.
Solution: Recognize expression starting with '('.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 22 Feb 2020 18:45:04 +0100 |
parents | f4f8014d516e |
children |
line wrap: on
line source
#!/bin/sh # enable DEC locator input model on remote terminal printf "\033[1;2'z\033[1;3'{\c" vim "$@" # disable DEC locator input model on remote terminal printf "\033[2;4'{\033[0'z\c"