Mercurial > vim
view runtime/syntax/hostsaccess.vim @ 16582:9a7d98e11954 v8.1.1294
patch 8.1.1294: MS-Windows: Some fonts return wrong average char width
commit https://github.com/vim/vim/commit/93d77b2cbec08518ee426d0c44c50cf505732443
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 7 22:52:50 2019 +0200
patch 8.1.1294: MS-Windows: Some fonts return wrong average char width
Problem: MS-Windows: Some fonts return wrong average char width.
Solution: Compute the average ourselves. (Ken Takata, closes https://github.com/vim/vim/issues/4356)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 07 May 2019 23:00:06 +0200 |
parents | 43efa4f5a8ea |
children |
line wrap: on
line source
" Vim syntax file " Language: hosts.deny, hosts.allow configuration files " Maintainer: Thilo Six <T.Six@gmx.de> " Last Change: 2011 May 01 " Derived From: conf.vim " Credits: Bram Moolenaar " " This file is there to get at least a minimal highlighting. " A later version may be improved. " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") finish endif " For a starter we just use conf.vim for highlighting runtime! syntax/conf.vim unlet b:current_syntax let b:current_syntax = "hostsaccess" " vim: ts=8 sw=2