Mercurial > vim
view runtime/indent/d.vim @ 32363:c114eebb5268 v9.0.1513
patch 9.0.1513: text scrolls unnecessarily when splitting
Commit: https://github.com/vim/vim/commit/b926bf47d61360a4ec5e4867714a08d70fd49965
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Sat May 6 12:53:50 2023 +0100
patch 9.0.1513: text scrolls unnecessarily when splitting
Problem: Text scrolls unnecessarily when splitting and 'splitkeep' is not
"cursor".
Solution: Avoid resetting w_skipcol. (Luuk van Baal, closes #12334)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 May 2023 14:00:04 +0200 |
parents | 6dd88e45d47d |
children |
line wrap: on
line source
" Vim indent file for the D programming language (version 0.137). " Language: D " Maintainer: Jason Mills <jmills@cs.mun.ca> (Invalid email address) " Doug Kearns <dougkearns@gmail.com> " Last Change: 2022 Apr 06 " Version: 0.1 " " Please email me with bugs, comments, and suggestion. Put vim in the subject " to ensure the email will not be marked has spam. " " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 " D indenting is a lot like the built-in C indenting. setlocal cindent let b:undo_indent = "setl cin<" " vim: ts=8 noet