annotate runtime/ftplugin/mma.vim @ 26197:2093cc976da8
v8.2.3630
patch 8.2.3630: printf() with %S does not handle multi-byte correctly
Commit: https://github.com/vim/vim/commit/d85fccdfed58108c4e0958d0b17c64690b5f073f
Author: presuku <presuku@users.noreply.github.com>
Date: Sat Nov 20 19:38:31 2021 +0000
patch 8.2.3630: printf() with %S does not handle multi-byte correctly
Problem: Printf() with %S does not handle multi-byte correctly.
Solution: Count cells instead of bytes. (closes https://github.com/vim/vim/issues/9169, closes https://github.com/vim/vim/issues/7486)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 20 Nov 2021 20:45:02 +0100 |
parents |
7cfe57329284 |
children |
7c7432a53a6c |
rev |
line source |
15640
|
1 " Vim filetype plugin file
|
|
2 " Language: Mathematica
|
|
3 " Maintainer: Ian Ford <ianf@wolfram.com>
|
|
4 " Last Change: 22 January 2019
|
|
5
|
|
6 " Only do this when not done yet for this buffer
|
|
7 if exists("b:did_ftplugin")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " Don't load another plugin for this buffer
|
|
12 let b:did_ftplugin = 1
|
|
13
|
|
14 let b:undo_ftplugin = "setlocal commentstring<"
|
|
15
|
|
16 setlocal commentstring=\(*%s*\)
|