view runtime/ftplugin/dosini.vim @ 25106:febccc86897e v8.2.3090

patch 8.2.3090: in rare cases the cursor may be somewhere in a folded line Commit: https://github.com/vim/vim/commit/00aaa512d5e775e0db21e251f43d7afb8fca910f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 3 18:04:11 2021 +0200 patch 8.2.3090: in rare cases the cursor may be somewhere in a folded line Problem: With concealing enabled and indirectly closing a fold the cursor may be somewhere in a folded line. Solution: Recompute the cursor position when the cursor line can be concealed. (closes #8480)
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Jul 2021 18:15:02 +0200
parents 1218c5353e2b
children 11b656e74444
line wrap: on
line source

" Vim filetype plugin file
" Language:             Configuration File (ini file) for MSDOS/MS Windows
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2008-07-09

if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let s:cpo_save = &cpo
set cpo&vim

let b:undo_ftplugin = "setl com< cms< fo<"

setlocal comments=:; commentstring=;\ %s formatoptions-=t formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save