Commit Graph

20 Commits

Author SHA1 Message Date
James Trew
c816406bd5 fix(builtin.lsp): bad check for jump_type option (#2991) 2024-03-18 15:39:57 +00:00
James Trew
5730b950d9 fix(builtin.lsp): extra No Name buffer opening with jump_type (#2990) 2024-03-18 13:41:56 +00:00
James Trew
8cd58c6e81 fix(lsp): incoming/outgoing_call range locations (#2985)
Previous implementation uses the incorrect lsp result fields for
generating call site locations resulting in incomplete and incorrect
results.
2024-03-18 01:09:56 +00:00
James Trew
a5b69afa48 refactor(lsp): consolidate some picker jump logic (#2935) 2024-02-23 03:15:55 +00:00
Hicro
20bf20500c fix: nil problem when jump to location when tab drop is set as jump_type (#2760)
* feat(lsp_definitions): adding `tab drop` as `jump_type`

* feat(lsp-jump-types): `tab drop` for LSP features

Now, you're able to use `tab drop` as `jump_type` for these LSP
features: references, type definitions, definitions an implementations.

* fix(docs): reordering `tab drop` option

* feat: generate docs

* fix: nil problem with `vim.uri_to_fname`

* fix: removing warning about `file_uri` variable not being used

---------

Co-authored-by: Simon Hauser <simon.hauser@helsinki-systems.de>
2023-11-06 02:06:57 +00:00
Hicro
060fedfdea feat(lsp-jump-type): tab drop as new jump_type option for go-to LSP pickers (#2751) 2023-10-23 09:41:29 +02:00
AI
5a747a9587 fix(lsp): call hierarchy results processing (#2728) 2023-10-07 20:05:04 +00:00
TJ DeVries
47c755d737 fix: handle non-file uris for lsp (#2604) 2023-07-17 13:20:09 -04:00
Folke Lemaitre
276362a802 feat(lsp): added support for dynamic capabilities (#2594) 2023-07-06 18:30:43 -04:00
暮晨
6dec8cf723 feat(lsp): add 'reuse_win' for reuse window options (#2454) 2023-05-24 11:21:16 +02:00
Azad
233cd6ad0d fix(lsp.definitions): compare file uri with targetUri (#2514) 2023-05-24 10:48:24 +02:00
Maksym Klishevych
942fe5faef feat(treesitter): symbols & ignore symbols options (#2338)
* feat(treesitter): symbols & ignore symbols options

* renamed the function passed to utils.filter_symbols

---------

Co-authored-by: Maksym Klishevych <max@klishevy.ch>
2023-03-22 09:49:55 -04:00
Luyu Huang
5d9658c39d fix: apply jump_type only if the definition file is different from the current file (#2324) 2023-02-19 13:32:37 +01:00
Andreas Guth
7a4ffef931 fix(lsp_references): not changing files if only 1 result (#2229) 2022-11-11 08:15:29 +01:00
Gutyina Gergő
cc77713294 feat: add jump_type option for lsp_references (#2218) 2022-11-06 17:43:01 +01:00
Marcus Caisey
4a43d13c95 fix: don't include current line in lsp references if current_line=false (#2165) 2022-09-17 10:14:53 +02:00
Christoph Blessing
2e05e63cdf fix: error due to concatenating table to string (#2108)
This commit fixes a bug that lead to an error because we tried to
concatenate a table (`err`) to a string. Now we concatenate
`err.message` (a string) to the string.
2022-08-01 18:06:28 +02:00
Simon Hauser
f838695459 chore: reformat with stylua 0.14.0 2022-07-07 08:27:46 +02:00
Simon Hauser
2b1da47deb chore: make to_fuzzy_refine configurable (#2034) 2022-07-03 21:39:24 +02:00
Simon Hauser
0621c1c6ba break: prefix internal files and add deprecation messages (#2032) 2022-07-01 22:20:12 +02:00