From 95d376dc88934c7aed5db08ab481037b848b5126 Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Tue, 3 May 2016 21:06:03 +0200 Subject: vim-patch:e392eb4 Update runtime files. https://github.com/vim/vim/commit/e392eb41f8dfc01bd13634e534ac6b4d505326f4 Files runtime/doc/tags and runtime/doc/todo.txt did not exist. Ignored runtime/syntax/vim.vim. One change in runtime/doc/windows.txt had already been applied. --- runtime/macros/less.vim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'runtime/macros') diff --git a/runtime/macros/less.vim b/runtime/macros/less.vim index d38bd3781d..7ccbeb32ea 100644 --- a/runtime/macros/less.vim +++ b/runtime/macros/less.vim @@ -1,6 +1,6 @@ " Vim script to work like "less" " Maintainer: Bram Moolenaar -" Last Change: 2014 May 13 +" Last Change: 2015 Nov 15 " Avoid loading this file twice, allow the user to define his own script. if exists("loaded_less") @@ -48,6 +48,12 @@ set nows let s:lz = &lz set lz +" Allow the user to define a function, which can set options specifically for +" this script. +if exists('*LessInitFunc') + call LessInitFunc() +endif + " Used after each command: put cursor at end and display position if &wrap noremap L L0:redraw:file -- cgit