Mercurial > vim
annotate runtime/syntax/htmlcheetah.vim @ 19824:09a621bdb0bc v8.2.0468
patch 8.2.0468: GUI: pixel dust with some fonts and characters
Commit: https://github.com/vim/vim/commit/7c003aa314337ce732e18c541fa93d71cafedf03
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 28 20:44:41 2020 +0100
patch 8.2.0468: GUI: pixel dust with some fonts and characters
Problem: GUI: pixel dust with some fonts and characters.
Solution: Always redraw the character before the cursor. (Nir Lichtman,
closes #5549, closes #5856)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Mar 2020 20:45:04 +0100 |
parents | 43efa4f5a8ea |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: HTML with Cheetah tags | |
3 " Maintainer: Max Ischenko <mfi@ukr.net> | |
4 " Last Change: 2003-05-11 | |
5 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
6 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
7 if exists("b:current_syntax") |
7 | 8 finish |
9 endif | |
10 | |
11 if !exists("main_syntax") | |
12 let main_syntax = 'html' | |
13 endif | |
14 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
15 runtime! syntax/cheetah.vim |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
16 runtime! syntax/html.vim |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
17 unlet b:current_syntax |
7 | 18 |
19 syntax cluster htmlPreproc add=cheetahPlaceHolder | |
20 syntax cluster htmlString add=cheetahPlaceHolder | |
21 | |
22 let b:current_syntax = "htmlcheetah" | |
23 | |
24 |