mirror of
https://github.com/zoriya/vim.git
synced 2026-06-07 13:36:47 +00:00
runtime(typescript): update outdated syntax files
fixes: #14721 fixes: HerringtonDarkholme/yats.vim#277 closes: #14840 Signed-off-by: rhysd <lin90162@yahoo.co.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
b1ffc52694
commit
5e45715084
+14
-1
@@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2024 May 11
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2024 May 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -3764,6 +3764,19 @@ set "tf_minlines" to the value you desire. Example: >
|
||||
|
||||
:let tf_minlines = your choice
|
||||
<
|
||||
TYPESCRIPT *typescript.vim* *ft-typescript-syntax*
|
||||
*typescriptreact.vim* *ft-typescriptreact-syntax*
|
||||
|
||||
There is one option to control the TypeScript syntax highlighting.
|
||||
|
||||
*g:typescript_host_keyword*
|
||||
When this variable is set to 1, host-specific APIs such as `addEventListener`
|
||||
are highlighted. To disable set it to zero in your .vimrc: >
|
||||
|
||||
let g:typescript_host_keyword = 0
|
||||
<
|
||||
The default value is 1.
|
||||
|
||||
VIM *vim.vim* *ft-vim-syntax*
|
||||
*g:vimsyn_minlines* *g:vimsyn_maxlines*
|
||||
There is a trade-off between more accurate syntax highlighting versus screen
|
||||
|
||||
Reference in New Issue
Block a user