Mercurial > vim
view runtime/syntax/tar.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 | 7472c565592a |
children | 1e9e9d89f0ee |
line wrap: on
line source
" Language : Tar Listing Syntax " Maintainer : Bram Moolenaar " Last change: Sep 08, 2004 if exists("b:current_syntax") finish endif syn match tarComment '^".*' contains=tarFilename syn match tarFilename 'tarfile \zs.*' contained syn match tarDirectory '.*/$' hi def link tarComment Comment hi def link tarFilename Constant hi def link tarDirectory Type " vim: ts=8