diff options
author | Teddy Wing | 2022-05-22 03:04:24 +0200 |
---|---|---|
committer | Teddy Wing | 2022-05-22 03:04:24 +0200 |
commit | 519e1aec593507476d366be57c46c8b2fa30d401 (patch) | |
tree | 10230028c3de78ac1efd9e96b8e8fc7cd4f424c6 | |
parent | 88af002efc9cc0771cb5c6ade4cc32b319da73a9 (diff) | |
download | dotvim-519e1aec593507476d366be57c46c8b2fa30d401.tar.bz2 |
ftplugin/go.vim#s:GoDoc: Change filetype to 'godoc'
Get 'godoc' syntax highlighting.
-rw-r--r-- | ftplugin/go.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |