aboutsummaryrefslogtreecommitdiff
path: root/runtime/macros
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2016-05-03 21:06:03 +0200
committerKillTheMule <KillTheMule@users.noreply.github.com>2016-05-03 21:09:03 +0200
commit95d376dc88934c7aed5db08ab481037b848b5126 (patch)
tree65efbd51c85d6ffbb9aa441bfaf6774dede1d7a2 /runtime/macros
parent367b1893e7efab3c97bb7df9c07703d076a94542 (diff)
downloadrneovim-95d376dc88934c7aed5db08ab481037b848b5126.tar.gz
rneovim-95d376dc88934c7aed5db08ab481037b848b5126.tar.bz2
rneovim-95d376dc88934c7aed5db08ab481037b848b5126.zip
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.
Diffstat (limited to 'runtime/macros')
-rw-r--r--runtime/macros/less.vim8
1 files changed, 7 insertions, 1 deletions
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 <Bram@vim.org>
-" 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 <SID>L L0:redraw<CR>:file<CR>