@@ -5,6 +5,11 @@ project adheres to [Semantic Versioning].
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Add some support for the Go language. It mainly deals with the highlight of
|
||||||
|
function/method calls and declarations.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Changed the color scheme for Ruby files:
|
- Changed the color scheme for Ruby files:
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -256,6 +256,12 @@ call s:h( 'Ignore', 'background', 'background', 'none')
|
|||||||
call s:h( 'Error', 'background', 'error', 'bold')
|
call s:h( 'Error', 'background', 'error', 'bold')
|
||||||
call s:h( 'Todo', 'background', 'warning', 'bold')
|
call s:h( 'Todo', 'background', 'warning', 'bold')
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
" Go Highlights {{{
|
||||||
|
|
||||||
|
call s:l( 'goOdysseyFunction', 'Function')
|
||||||
|
call s:l('goOdysseyFuncKeyword', 'Statement')
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
" Java Highlights {{{
|
" Java Highlights {{{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user