Merge the changes done for JavaScript
This commit is contained in:
@@ -7,6 +7,9 @@ project adheres to [Semantic Versioning].
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
- Add some support for the JavaScript language. It mainly deals with the
|
||||||
|
highlight of function/method calls and declarations.
|
||||||
|
|
||||||
- Add some support for the Go language. It mainly deals with the highlight of
|
- Add some support for the Go language. It mainly deals with the highlight of
|
||||||
function/method calls and declarations.
|
function/method calls and declarations.
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
" _ _ __
|
||||||
|
" (_)____ _ _ __ ____ _ _____ _____ _____ (_)____ / /_
|
||||||
|
" / // __ `/| | / // __ `// ___// ___// ___// // __ \ / __/
|
||||||
|
" / // /_/ / | |/ // /_/ /(__ )/ /__ / / / // /_/ // /_
|
||||||
|
" __/ / \__,_/ |___/ \__,_//____/ \___//_/ /_// .___/ \__/
|
||||||
|
" /___/ ____ /_/
|
||||||
|
" / __/____ _____
|
||||||
|
" / /_ / __ \ / ___/
|
||||||
|
" / __// /_/ // /
|
||||||
|
" __ /_/ \____//_/
|
||||||
|
" ____ ____/ /__ __ _____ _____ ___ __ __
|
||||||
|
" / __ \ / __ // / / // ___// ___// _ \ / / / /
|
||||||
|
" / /_/ // /_/ // /_/ /(__ )(__ )/ __// /_/ /
|
||||||
|
" \____/ \__,_/ \__, //____//____/ \___/ \__, /
|
||||||
|
" /____/ /____/
|
||||||
|
"
|
||||||
|
" Note: This script defines syntax groups that deal with function calls and
|
||||||
|
" lambda definitions.
|
||||||
|
"
|
||||||
|
" Maintainer: Ludovic Koenig <ludovic.koenig@gmail.com>
|
||||||
|
" Version: 0.7.0
|
||||||
|
" Since: 0.7.0
|
||||||
|
" License: MIT
|
||||||
|
"
|
||||||
|
" JavaScript Syntax {{{
|
||||||
|
|
||||||
|
syntax keyword javaScriptOdysseyKeyword of yield async await
|
||||||
|
syntax match javaScriptOdysseyFatArrow "=>"
|
||||||
|
syntax match javaScriptOdysseyFunction "\<\l\w*\>("me=e-1
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
" vim: foldmethod=marker textwidth=79 colorcolumn=+1
|
||||||
@@ -298,6 +298,16 @@ else
|
|||||||
let g:java_ignore_javadoc = 1
|
let g:java_ignore_javadoc = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
" JavaScript Highlights {{{
|
||||||
|
|
||||||
|
call s:l( 'javaScriptFunction', 'Statement')
|
||||||
|
call s:l( 'javaScriptBraces', 'Normal')
|
||||||
|
call s:l( 'javaScriptIdentifier', 'Statement')
|
||||||
|
call s:l( 'javaScriptOdysseyKeyword', 'Keyword')
|
||||||
|
call s:l('javaScriptOdysseyFunction', 'Function')
|
||||||
|
call s:l('javaScriptOdysseyFatArrow', 'Statement')
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
" Python Highlights {{{
|
" Python Highlights {{{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user