summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@stripe.com>2019-07-26 13:16:23 -0700
committerJesse Luehrs <doy@tozt.net>2019-07-26 13:16:51 -0700
commit4d79df89c5c537fa3f6957124c129c534a30c2fa (patch)
tree55684f80fdcacc1a67586514c416ca3b000b3309 /vimrc
parent6eed3f882518db1b89ecb39ead0a054949c0ce58 (diff)
downloadconf-4d79df89c5c537fa3f6957124c129c534a30c2fa.tar.gz
conf-4d79df89c5c537fa3f6957124c129c534a30c2fa.zip
syntax highlighting improvements for go
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index f4925f8..58fe375 100644
--- a/vimrc
+++ b/vimrc
@@ -156,6 +156,12 @@ if !isdirectory(g:netrw_home)
call mkdir(g:netrw_home, 'p')
endif
" }}}
+" polyglot {{{
+" this is for things that can't be set in ftplugin files for whatever reason
+let g:go_highlight_functions = 1
+let g:go_highlight_function_calls = 1
+let g:go_highlight_types = 1
+" }}}
" rainbow {{{
let g:rainbow = 1
let g:rainbow_paren = 1