aboutsummaryrefslogtreecommitdiff
path: root/runtime/macros
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-28 01:55:06 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-28 21:29:57 -0400
commit65821cc1b94e3beb2de19e1bb8def3fe6e82bc1f (patch)
tree4595ff953f16ea5ce5846ece82fe25ce53223095 /runtime/macros
parent0185625c04ee736dac36789d0cb590ecde8926e8 (diff)
downloadrneovim-65821cc1b94e3beb2de19e1bb8def3fe6e82bc1f.tar.gz
rneovim-65821cc1b94e3beb2de19e1bb8def3fe6e82bc1f.tar.bz2
rneovim-65821cc1b94e3beb2de19e1bb8def3fe6e82bc1f.zip
vim-patch:388a5d4f20b4
Update runtime files https://github.com/vim/vim/commit/388a5d4f20b4b64341d1604aa238cab85827b892 Omit vim9.
Diffstat (limited to 'runtime/macros')
-rw-r--r--runtime/macros/less.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/macros/less.vim b/runtime/macros/less.vim
index aad122d70a..4883dae41a 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: 2017 Mar 31
+" Last Change: 2020 May 18
" Avoid loading this file twice, allow the user to define his own script.
if exists("loaded_less")
@@ -66,8 +66,8 @@ endif
" When reading from stdin don't consider the file modified.
au VimEnter * set nomod
-" Can't modify the text
-set noma
+" Can't modify the text or write the file.
+set nomodifiable readonly
" Give help
noremap h :call <SID>Help()<CR>