aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/tips.txt
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-06-18 09:47:01 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-06-19 16:37:04 +0100
commitbb35ed6aaaff097ae7b9ee3a6f35b11f808c5b89 (patch)
treec599d28cef1c544643e32c568d766e90f1cc14db /runtime/doc/tips.txt
parent7da86f55a7ab08fee8479b219b2fbaf2eb424724 (diff)
downloadrneovim-bb35ed6aaaff097ae7b9ee3a6f35b11f808c5b89.tar.gz
rneovim-bb35ed6aaaff097ae7b9ee3a6f35b11f808c5b89.tar.bz2
rneovim-bb35ed6aaaff097ae7b9ee3a6f35b11f808c5b89.zip
fix(doc): don't use method call syntax in examples
The method call syntax patches aren't ported yet.
Diffstat (limited to 'runtime/doc/tips.txt')
-rw-r--r--runtime/doc/tips.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/tips.txt b/runtime/doc/tips.txt
index bcb2e48cbf..27b6ca2885 100644
--- a/runtime/doc/tips.txt
+++ b/runtime/doc/tips.txt
@@ -462,7 +462,7 @@ the current window, try this custom `:HelpCurwin` command:
execute mods .. ' helpclose'
let s:did_open_help = v:true
endif
- if !getcompletion(a:subject, 'help')->empty()
+ if !empty(getcompletion(a:subject, 'help'))
execute mods .. ' edit ' .. &helpfile
endif
return 'help ' .. a:subject