From 73a204dd006c1ad1d7562e5970dbb41975b94727 Mon Sep 17 00:00:00 2001 From: Ben Kraft Date: Wed, 12 Dec 2018 11:35:57 -0800 Subject: Add versions of ALEGoToDefinition that open in splits This is just like `:ALEGoToDefinitionInTab`, only a (v)split instead of a tab. Fixes #2140. --- doc/ale.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/ale.txt') diff --git a/doc/ale.txt b/doc/ale.txt index 0b127725..e5951745 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -836,6 +836,8 @@ information returned by LSP servers. The following commands are supported: |ALEGoToDefinition| - Open the definition of the symbol under the cursor. |ALEGoToDefinitionInTab| - The same, but for opening the file in a new tab. +|ALEGoToDefinitionInSplit| - The same, but in a new split. +|ALEGoToDefinitionInVSplit| - The same, but in a new vertical split. ------------------------------------------------------------------------------- @@ -2262,6 +2264,22 @@ ALEGoToDefinitionInTab *ALEGoToDefinitionInTab* command. +ALEGoToDefinitionInSplit *ALEGoToDefinitionInSplit* + + The same as |ALEGoToDefinition|, but opens results in a new split. + + A plug mapping `(ale_go_to_definition_in_split)` is defined for this + command. + + +ALEGoToDefinitionInVSplit *ALEGoToDefinitionInVSplit* + + The same as |ALEGoToDefinition|, but opens results in a new vertical split. + + A plug mapping `(ale_go_to_definition_in_vsplit)` is defined for this + command. + + ALEHover *ALEHover* Print brief information about the symbol under the cursor, taken from any -- cgit v1.2.3