view runtime/syntax/template.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 1eaf34420bb3
children 4027cefc2aab
line wrap: on
line source

" Vim syntax file
" Language:	Generic template
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2019 May 06

" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
  finish
endif

" Known template types are very similar to HTML, E.g. golang and "Xfire User
" Interface Template"
" If you know how to recognize a more specific type for *.tmpl suggest a
" change to runtime/scripts.vim.
runtime! syntax/html.vim