Merge the changes done for the Go language

It closes #13 on Github.
This commit is contained in:
Ludovic Koenig
2019-09-28 11:01:19 +02:00
3 changed files with 35 additions and 0 deletions
+5
View File
@@ -5,6 +5,11 @@ project adheres to [Semantic Versioning].
## [Unreleased]
### Added
- Add some support for the Go language. It mainly deals with the highlight of
function/method calls and declarations.
### Changed
- Changed the color scheme for Ruby files:
+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
+6
View File
@@ -256,6 +256,12 @@ call s:h( 'Ignore', 'background', 'background', 'none')
call s:h( 'Error', 'background', 'error', 'bold')
call s:h( 'Todo', 'background', 'warning', 'bold')
" }}}
" Go Highlights {{{
call s:l( 'goOdysseyFunction', 'Function')
call s:l('goOdysseyFuncKeyword', 'Statement')
" }}}
" Java Highlights {{{