Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix highlighting of type names and type references #285

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions syntax/common.vim
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,19 @@ hi def link typescriptFuncComma Operator

hi def link typescriptClassKeyword Keyword
hi def link typescriptClassExtends Keyword
" hi def link typescriptClassName Function
hi def link typescriptClassName Type
hi def link typescriptAbstract Special
" hi def link typescriptClassHeritage Function
" hi def link typescriptInterfaceHeritage Function
hi def link typescriptClassHeritage Type
hi def link typescriptInterfaceHeritage Type
hi def link typescriptClassStatic StorageClass
hi def link typescriptReadonlyModifier StorageClass
hi def link typescriptInterfaceKeyword Keyword
hi def link typescriptInterfaceExtends Keyword
hi def link typescriptInterfaceName Function
hi def link typescriptInterfaceName Type

hi def link shellbang Comment

hi def link typescriptTypeParameter Identifier
hi def link typescriptTypeParameter Type
hi def link typescriptConstraint Keyword
hi def link typescriptPredefinedType Type
hi def link typescriptReadonlyArrayKeyword Keyword
Expand All @@ -155,10 +155,10 @@ hi def link typescriptMappedIn Special
hi def link typescriptCall PreProc
hi def link typescriptParamImpl PreProc
hi def link typescriptConstructSignature Identifier
hi def link typescriptAliasDeclaration Identifier
hi def link typescriptAliasDeclaration Typedef
hi def link typescriptAliasKeyword Keyword
hi def link typescriptUserDefinedType Keyword
hi def link typescriptTypeReference Identifier
hi def link typescriptTypeReference Type
hi def link typescriptConstructor Keyword
hi def link typescriptDecorator Special
hi def link typescriptAssertType Keyword
Expand Down