|
|
@@ -5,23 +5,25 @@ syntax highlighting. This plugin assumes you have
|
|
|
[vim-go](https://github.com/fatih/vim-go) installed and is untested outside that
|
|
|
assumption.
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+| Before | After |
|
|
|
+| --- | --- |
|
|
|
+|  |  |
|
|
|
+|  |  |
|
|
|
+|  |  |
|
|
|
|
|
|
## Features
|
|
|
|
|
|
-Mostly, this plugin highlights non-native types when appropriate. It also
|
|
|
-assumes formatting matches the output of `gofmt`.
|
|
|
-
|
|
|
-* Highlight types in var (...) blocks
|
|
|
-* Highlight types in receivers
|
|
|
-* Highlight types in structs
|
|
|
-* Highlight types in function parameters
|
|
|
-* Highlight types in function returns
|
|
|
-* Highlight methods/functions the same
|
|
|
-* Highlight literal struct fields
|
|
|
-* Uses the same highlighting option flags as `vim-go`
|
|
|
+Mostly, this plugin highlights non-native types when appropriate. It assumes
|
|
|
+formatting matches the output of `gofmt`.
|
|
|
+
|
|
|
+vim-colorful-go also uses the same highlighting option flags as `vim-go`.
|
|
|
+
|
|
|
+Some things that are now highlighted:
|
|
|
+* types in `type (...)` blocks
|
|
|
+* type declarations in structs
|
|
|
+* types in function parameters
|
|
|
+* types in function returns
|
|
|
+* literal struct fields
|
|
|
* ..probably more I can't remember
|
|
|
|
|
|
## Install
|