view src/testdir/unix.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 bfd636b8e259
children dbec60b8c253
line wrap: on
line source

" Settings for test script execution
" Always use "sh", don't use the value of "$SHELL".
set shell=sh

" Only when the +eval feature is present. 
if 1
  " While some tests overwrite $HOME to prevent them from polluting user files,
  " we need to remember the original value so that we can tell external systems
  " where to ask about their own user settings.
  let g:tester_HOME = $HOME
endif

source setup.vim