Add two syntax groups for the Go syntax

Those syntax groups deals with the highligths of function declarations
and function calls.
This commit is contained in:
Ludovic Koenig
2019-09-28 10:54:30 +02:00
parent 343e77e065
commit fa74f11430
2 changed files with 30 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
" ____
" ____ _ ____ / __/____ _____
" / __ `// __ \ / /_ / __ \ / ___/
" / /_/ // /_/ / / __// /_/ // /
" \__, / \____/ /_/ \____//_/
" /____/ __
" ____ ____/ /__ __ _____ _____ ___ __ __
" / __ \ / __ // / / // ___// ___// _ \ / / / /
" / /_/ // /_/ // /_/ /(__ )(__ )/ __// /_/ /
" \____/ \__,_/ \__, //____//____/ \___/ \__, /
" /____/ /____/
"
" Maintainer: Ludovic Koenig <ludovic.koenig@gmail.com>
" Version: 0.6.0
" Since: 0.6.0
" License: MIT
"
" Go Syntax {{{
syntax match goOdysseyFunction "\<\w*\>("me=e-1
syntax match goOdysseyFuncKeyword "\<func\>("me=e-1
" }}}
" vim: foldmethod=marker textwidth=79 colorcolumn=+1