From 634c81fd465269f59e3db878fe8405828e6d2da9 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 25 Feb 2020 13:50:44 +0000 Subject: Mention using 'hidden' in combination with ALEGoToDefinition --- doc/ale.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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 `(ale_go_to_definition)` is defined for this command. -- cgit v1.2.3