diff options
author | Teddy Wing | 2022-05-17 20:53:39 +0200 |
---|---|---|
committer | Teddy Wing | 2022-05-22 03:03:05 +0200 |
commit | 88af002efc9cc0771cb5c6ade4cc32b319da73a9 (patch) | |
tree | dd59fbaa204df1785d525e450d4c0b0a3906d6b7 | |
parent | 0b4b4f993b9fbf52b7fbe5aa443ca4155c0eac8b (diff) | |
download | dotvim-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.
-rw-r--r-- | ftplugin/go.vim | 6 |
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 |