summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-02-25 13:50:44 +0000
committerw0rp <devw0rp@gmail.com>2020-02-25 13:50:44 +0000
commit634c81fd465269f59e3db878fe8405828e6d2da9 (patch)
treebf2f57bcf17f308d392fdb6d33637cc5b42b0434 /doc/ale.txt
parent8012809c3f30a767db8395c5b8e3651cdb995635 (diff)
downloadale-634c81fd465269f59e3db878fe8405828e6d2da9.zip
Mention using 'hidden' in combination with ALEGoToDefinition
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index eafbc119..0d92d6d9 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -2715,6 +2715,10 @@ ALEGoToDefinition *ALEGoToDefinition*
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|.
+ 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.