From 519e1aec593507476d366be57c46c8b2fa30d401 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 22 May 2022 03:04:24 +0200 Subject: ftplugin/go.vim#s:GoDoc: Change filetype to 'godoc' Get 'godoc' syntax highlighting. --- ftplugin/go.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin') diff --git a/ftplugin/go.vim b/ftplugin/go.vim index 7388a3a..0e0ca00 100644 --- a/ftplugin/go.vim +++ b/ftplugin/go.vim @@ -62,5 +62,5 @@ function! s:GoDoc(search_term) new execute 'read !go doc -all ' . shellescape(search_term) set readonly nomodified - setfiletype go + setfiletype godoc endfunction -- cgit v1.2.3