view runtime/syntax/hostsaccess.vim @ 18469:66964658cc3c v8.1.2228

patch 8.1.2228: screenpos() returns wrong values when 'number' is set Commit: https://github.com/vim/vim/commit/38ba4dce4a8574e60f6ddb111922880b0c7affdc Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 27 21:39:09 2019 +0100 patch 8.1.2228: screenpos() returns wrong values when 'number' is set Problem: screenpos() returns wrong values when 'number' is set. (Ben Jackson) Solution: Compare the column with the window width. (closes #5133)
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Oct 2019 21:45:03 +0100
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