annotate runtime/indent/dtrace.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 |
82b5078be2dd |
children |
|
rev |
line source |
1621
|
1 " Vim indent file
|
|
2 " Language: D script as described in "Solaris Dynamic Tracing Guide",
|
|
3 " http://docs.sun.com/app/docs/doc/817-6223
|
|
4 " Last Change: 2008/03/20
|
|
5 " Version: 1.2
|
|
6 " Maintainer: Nicolas Weber <nicolasweber@gmx.de>
|
|
7
|
|
8 " Only load this indent file when no other was loaded.
|
|
9 if exists("b:did_indent")
|
|
10 finish
|
|
11 endif
|
|
12 let b:did_indent = 1
|
|
13
|
|
14 " Built-in C indenting works nicely for dtrace.
|
|
15 setlocal cindent
|
|
16
|
|
17 let b:undo_indent = "setl cin<"
|