Mercurial > vim
view runtime/ftplugin/logindefs.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 | 1218c5353e2b |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: login.defs(5) configuration file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save