From 88af002efc9cc0771cb5c6ade4cc32b319da73a9 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 17 May 2022 20:53:39 +0200 Subject: 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. --- ftplugin/go.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ftplugin') 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 -- cgit v1.2.3