aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/go.vim
diff options
context:
space:
mode:
authorTeddy Wing2022-05-17 20:53:39 +0200
committerTeddy Wing2022-05-22 03:03:05 +0200
commit88af002efc9cc0771cb5c6ade4cc32b319da73a9 (patch)
treedd59fbaa204df1785d525e450d4c0b0a3906d6b7 /ftplugin/go.vim
parent0b4b4f993b9fbf52b7fbe5aa443ca4155c0eac8b (diff)
downloaddotvim-88af002efc9cc0771cb5c6ade4cc32b319da73a9.tar.bz2
ftplugin/go.vim#s:GoDoc: Remove unnecessary `|` in Ex commands
These were a holdover from when the lines were in a map binding. They're unnecessary now that they've been moved to a function.
Diffstat (limited to 'ftplugin/go.vim')
-rw-r--r--ftplugin/go.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftplugin/go.vim b/ftplugin/go.vim
index 4fb59ea..7388a3a 100644
--- a/ftplugin/go.vim
+++ b/ftplugin/go.vim
@@ -60,7 +60,7 @@ function! s:GoDoc(search_term)
endif
new
- \| execute 'read !go doc -all ' . shellescape(search_term)
- \| set readonly nomodified
- \| setfiletype go
+ execute 'read !go doc -all ' . shellescape(search_term)
+ set readonly nomodified
+ setfiletype go
endfunction