Compare commits
3 Commits
ec963fd41f
...
4320cae8ec
Author | SHA1 | Date |
---|---|---|
Ray Elliott | 4320cae8ec | |
Ray Elliott | d0192ef83b | |
Ray Elliott | e4d82ef50e |
|
@ -112,3 +112,7 @@ endsnippet
|
||||||
snippet th "this.handle..."
|
snippet th "this.handle..."
|
||||||
this.handle${1:Click} = this.handle$1.bind(this);
|
this.handle${1:Click} = this.handle$1.bind(this);
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet tb "this ... = ... .bind(this);"
|
||||||
|
this.$1 = this.$1.bind(this);
|
||||||
|
endsnippet
|
||||||
|
|
|
@ -488,6 +488,10 @@
|
||||||
[ "jsThis", "jsGlobalObjects" ],
|
[ "jsThis", "jsGlobalObjects" ],
|
||||||
[ "jsArrowFunction", "Function" ],
|
[ "jsArrowFunction", "Function" ],
|
||||||
|
|
||||||
|
# jsx
|
||||||
|
[ "jsxTagName", "htmlTagName" ],
|
||||||
|
[ "jsxComponentName", "htmlSpecialTagName" ],
|
||||||
|
[ "jsxAttrib", "htmlArg" ],
|
||||||
# python
|
# python
|
||||||
|
|
||||||
[ "pythonBuiltin", "Type" ],
|
[ "pythonBuiltin", "Type" ],
|
||||||
|
|
|
@ -243,6 +243,9 @@ if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
|
||||||
hi link jsOperatorKeyword Label
|
hi link jsOperatorKeyword Label
|
||||||
hi link jsThis jsGlobalObjects
|
hi link jsThis jsGlobalObjects
|
||||||
hi link jsArrowFunction Function
|
hi link jsArrowFunction Function
|
||||||
|
hi link jsxTagName htmlTagName
|
||||||
|
hi link jsxComponentName htmlSpecialTagName
|
||||||
|
hi link jsxAttrib htmlArg
|
||||||
hi link pythonBuiltin Type
|
hi link pythonBuiltin Type
|
||||||
hi link pythonBuiltinObj Special
|
hi link pythonBuiltinObj Special
|
||||||
hi link pythonDottedName Identifier
|
hi link pythonDottedName Identifier
|
||||||
|
@ -608,6 +611,9 @@ elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
|
||||||
hi link jsOperatorKeyword Label
|
hi link jsOperatorKeyword Label
|
||||||
hi link jsThis jsGlobalObjects
|
hi link jsThis jsGlobalObjects
|
||||||
hi link jsArrowFunction Function
|
hi link jsArrowFunction Function
|
||||||
|
hi link jsxTagName htmlTagName
|
||||||
|
hi link jsxComponentName htmlSpecialTagName
|
||||||
|
hi link jsxAttrib htmlArg
|
||||||
hi link pythonBuiltin Type
|
hi link pythonBuiltin Type
|
||||||
hi link pythonBuiltinObj Special
|
hi link pythonBuiltinObj Special
|
||||||
hi link pythonDottedName Identifier
|
hi link pythonDottedName Identifier
|
||||||
|
|
Loading…
Reference in New Issue