view runtime/syntax/htmlcheetah.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 43efa4f5a8ea
children
line wrap: on
line source

" Vim syntax file
" Language:	HTML with Cheetah tags
" Maintainer:	Max Ischenko <mfi@ukr.net>
" Last Change: 2003-05-11

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

if !exists("main_syntax")
  let main_syntax = 'html'
endif

runtime! syntax/cheetah.vim
runtime! syntax/html.vim
unlet b:current_syntax

syntax cluster htmlPreproc add=cheetahPlaceHolder
syntax cluster htmlString add=cheetahPlaceHolder

let b:current_syntax = "htmlcheetah"