From 14dc82fc4e6c0c08078f97a24a6c1639c1cc5113 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 14 Apr 2020 13:17:26 +0200 Subject: Update --- syntax/go.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syntax/go.vim') 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 -- cgit v1.2.3