Mercurial > vim
view runtime/indent/dtrace.vim @ 31365:040b59b92dca v9.0.1016
patch 9.0.1016: screenpos() does not count filler lines for diff mode
Commit: https://github.com/vim/vim/commit/1cb16c3a20a9d17df1a8dc3813ef64dc98e42637
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 5 22:26:44 2022 +0000
patch 9.0.1016: screenpos() does not count filler lines for diff mode
Problem: screenpos() does not count filler lines for diff mode.
Solution: Add filler lines. (closes 11658)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Dec 2022 23:30:04 +0100 |
parents | 82b5078be2dd |
children |
line wrap: on
line source
" Vim indent file " Language: D script as described in "Solaris Dynamic Tracing Guide", " http://docs.sun.com/app/docs/doc/817-6223 " Last Change: 2008/03/20 " Version: 1.2 " Maintainer: Nicolas Weber <nicolasweber@gmx.de> " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 " Built-in C indenting works nicely for dtrace. setlocal cindent let b:undo_indent = "setl cin<"