annotate runtime/keymap/persian.vim @ 21771:fcf978444298 v8.2.1435

patch 8.2.1435: Vim9: always converting to string for ".." leads to mistakes Commit: https://github.com/vim/vim/commit/418f1df54763b79600db1c91c880fbc1007b2e1f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 12 21:34:49 2020 +0200 patch 8.2.1435: Vim9: always converting to string for ".." leads to mistakes Problem: Vim9: always converting to string for ".." leads to mistakes. Solution: Only automatically convert simple types.
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Aug 2020 21:45:03 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 let encoding = &enc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 if encoding == ''
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 let encoding = 'utf-8'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 if encoding == 'utf-8'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 source <sfile>:p:h/persian-iranian_utf-8.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif