Mercurial > vim
annotate runtime/ftplugin/masm.vim @ 24630:4cf4d7a71fac v8.2.2854
patch 8.2.2854: custom statusline cannot contain % items
Commit: https://github.com/vim/vim/commit/30e3de21fc36153c5f7c9cf9db90bcc60dd67fb9
Author: shadmansaleh <shadmansaleh3@gmail.com>
Date: Sat May 15 17:23:28 2021 +0200
patch 8.2.2854: custom statusline cannot contain % items
Problem: Custom statusline cannot contain % items.
Solution: Add "%{% expr %}". (closes https://github.com/vim/vim/issues/8190)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 May 2021 17:30:03 +0200 |
parents | 7f88f6a3ed4c |
children | 4d76b3e07c07 |
rev | line source |
---|---|
20379 | 1 " Vim filetype plugin file |
2 " Language: Microsoft Macro Assembler (80x86) | |
3 " Maintainer: Wu Yongwei <wuyongwei@gmail.com> | |
4 " Last Change: 2020-05-09 23:02:05 +0800 | |
5 | |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 let b:did_ftplugin = 1 | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
13 | |
14 let b:undo_ftplugin = "setl iskeyword<" | |
15 | |
16 setlocal iskeyword=@,48-57,_,36,60,62,63,@-@ | |
17 | |
18 let &cpo = s:cpo_save | |
19 unlet s:cpo_save |