aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/tips.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/tips.txt')
-rw-r--r--runtime/doc/tips.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/tips.txt b/runtime/doc/tips.txt
index 27b6ca2885..b77c7d9a6d 100644
--- a/runtime/doc/tips.txt
+++ b/runtime/doc/tips.txt
@@ -464,6 +464,7 @@ the current window, try this custom `:HelpCurwin` command:
endif
if !empty(getcompletion(a:subject, 'help'))
execute mods .. ' edit ' .. &helpfile
+ set buftype=help
endif
return 'help ' .. a:subject
endfunction