summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Kraft <benkraft@khanacademy.org>2018-12-12 11:35:57 -0800
committerBen Kraft <ben@benkraft.org>2018-12-19 18:35:56 -0500
commit73a204dd006c1ad1d7562e5970dbb41975b94727 (patch)
tree6b08b89311db2c570faad18401372425f6ee5c5f /doc
parent2cfa09e02d65cd06649fb1ae5f988b7a110a124d (diff)
downloadale-73a204dd006c1ad1d7562e5970dbb41975b94727.zip
Add versions of ALEGoToDefinition that open in splits
This is just like `:ALEGoToDefinitionInTab`, only a (v)split instead of a tab. Fixes #2140.
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt18
1 files changed, 18 insertions, 0 deletions
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 `<Plug>(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 `<Plug>(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