Mercurial > vim
view runtime/syntax/hostsaccess.vim @ 32790:fbe3a843b6af v9.0.1711
patch 9.0.1711: dead code in charset.c
Commit: https://github.com/vim/vim/commit/d3515a1e88cf25c1d5eae8faa965b587a124e687
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon Jul 3 22:00:04 2023 +0800
patch 9.0.1711: dead code in charset.c
Problem: dead code in charset.c
Solution: remove it
linetabsize_col() calls init_chartabsize_arg() with 0 as "lnum", so
cts.cts_has_prop_with_text is always FALSE.
closes: #PR
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 13 Aug 2023 20:15:03 +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