Mercurial > vim
view src/gvimtutor @ 22391:a9fb7efa31d6 v8.2.1744
patch 8.2.1744: Vim9: using ":const!" is weird
Commit: https://github.com/vim/vim/commit/30fd8204cecb317d842b964d624d492088d6d15f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 26 15:09:30 2020 +0200
patch 8.2.1744: Vim9: using ":const!" is weird
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Sep 2020 15:15:05 +0200 |
parents | 4a317df16962 |
children | d4faa2c5211b |
line wrap: on
line source
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"