diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-04-14 13:17:26 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-04-14 13:17:26 +0200 |
commit | 14dc82fc4e6c0c08078f97a24a6c1639c1cc5113 (patch) | |
tree | dea8d2398a9377a0eee7786776e3cd420ce1ee89 /syntax/go.vim | |
parent | e86e0ad36ef9501acbc3e8c63a1d4fab104e47cb (diff) | |
download | vim-polyglot-14dc82fc4e6c0c08078f97a24a6c1639c1cc5113.tar.gz vim-polyglot-14dc82fc4e6c0c08078f97a24a6c1639c1cc5113.zip |
Update
Diffstat (limited to 'syntax/go.vim')
-rw-r--r-- | syntax/go.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/go.vim b/syntax/go.vim index fef0e689..93d6fbc4 100644 --- a/syntax/go.vim +++ b/syntax/go.vim @@ -401,7 +401,7 @@ function! s:hi() " filetype plugin on, the highlight groups won't be defined when " ftplugin/go.vim is executed when the first go file is opened. " See https://github.com/fatih/vim-go/issues/2658. - if exists('*prop_type_add') + if has('textprop') if empty(prop_type_get('goSameId')) call prop_type_add('goSameId', {'highlight': 'goSameId'}) endif |