diff options
author | Dalius Dobravolskas <daliusd@wix.com> | 2022-02-05 14:54:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-05 21:54:26 +0900 |
commit | 0c276aac90f5a49fcf2609d348a11ee0608dd558 (patch) | |
tree | 387ed5594a7d7755bfcfb87700575865ab6cea28 /doc/ale.txt | |
parent | a58b7b5efb058ca8ba597289af2ab49ee56bfc46 (diff) | |
download | ale-0c276aac90f5a49fcf2609d348a11ee0608dd558.zip |
Allows to use quickfix for references. (#4033)
* Allows to use quickfix for references.
E.g. following mapping could be used to find references for item under
cursor and put result into quickfix list:
```
nnoremap <leader>af :ALEFindReferences -quickfix<CR>
```
Fixes #1759
* Documentation update.
Diffstat (limited to 'doc/ale.txt')
-rw-r--r-- | doc/ale.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index a4974ec2..371f17c5 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -3289,15 +3289,16 @@ ALEFindReferences *ALEFindReferences* The locations opened in different ways using the following variations. - `:ALEFindReferences -tab` - Open the location in a new tab. - `:ALEFindReferences -split` - Open the location in a horizontal split. - `:ALEFindReferences -vsplit` - Open the location in a vertical split. + `:ALEFindReferences -tab` - Open the location in a new tab. + `:ALEFindReferences -split` - Open the location in a horizontal split. + `:ALEFindReferences -vsplit` - Open the location in a vertical split. + `:ALEFindReferences -quickfix` - Put the locations into quickfix list. The default method used for navigating to a new location can be changed by modifying |g:ale_default_navigation|. You can add `-relative` to the command to view results with relatives paths, - instead of absolute paths. + instead of absolute paths. This option has no effect if `-quickfix` is used. The selection can be opened again with the |ALERepeatSelection| command. |