Mention using 'hidden' in combination with ALEGoToDefinition

This commit is contained in:
w0rp 2020-02-25 13:50:44 +00:00
parent 8012809c3f
commit 634c81fd46
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
1 changed files with 4 additions and 0 deletions

View File

@ -2715,6 +2715,10 @@ ALEGoToDefinition *ALEGoToDefinition*
You can jump back to the position you were at before going to the definition You can jump back to the position you were at before going to the definition
of something with jump motions like CTRL-O. See |jump-motions|. of something with jump motions like CTRL-O. See |jump-motions|.
You should consider using the 'hidden' option in combination with this
command. Otherwise, Vim will refuse to leave the buffer you're jumping from
unless you have saved your edits.
A plug mapping `<Plug>(ale_go_to_definition)` is defined for this command. A plug mapping `<Plug>(ale_go_to_definition)` is defined for this command.