Simon Hauser
0621c1c6ba
break: prefix internal files and add deprecation messages ( #2032 )
2022-07-01 22:20:12 +02:00
Fabian David Schmidt
ef9137d85c
feat: refine with new_table
2022-07-01 18:13:25 +02:00
Manuel
3a72cc8902
feat(builtin.lsp): implement builtin handlers for lsp.(incoming|outgoing)_calls ( #1484 )
...
Fixes #863
2022-06-30 14:01:51 +02:00
Yorick Peterse
838c32d6a8
refactor: make_entry more consistent ( #1410 )
...
drops `ignore_filename`, use `path_display= { "hidden" }`
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2022-06-30 14:01:50 +02:00
Simon Hauser
83b6cadb2c
break: deprecate utils.get_default utils.if_nil ( #1545 )
2022-06-30 14:01:49 +02:00
dagle
3cc44f8f05
fix: set tagstack when we jump with lsp in telescope ( #1887 )
...
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2022-05-18 19:59:12 +02:00
Christian Clason
b70256066e
chore: adapt to resolved_capabilities deprecation ( #1902 )
...
Neovim deprecated `resolved_capabilities` in https://github.com/neovim/neovim/pull/17814
Replace with `server_capabilities` and adapted feature table, which is backwards compatible
with 0.7.
2022-04-30 17:24:52 +02:00
Simon Hauser
e7e90466de
break: remove lsp code actions ( #1866 )
...
see :help telescope.changelog-1866 for more information
2022-04-25 22:52:00 +02:00
Simon Hauser
762d49f607
feat(lsp_references): include current line option
...
close : #1821
2022-04-09 13:17:57 +02:00
Joshua Cao
8af0d384d2
fix: save position into jumplist before 'edit' action ( #1234 )
...
currently enabled for some builtins. You can manually enable it by adding `push_cursor_on_edit = true` to the builtin options. But feel free to open a PR if you find a builtin that needs this option enabled.
2022-04-08 20:09:58 +02:00
Simon Hauser
40c1e88904
chore: fix lint errors from latest ci run
2022-03-26 10:25:47 +01:00
Mathijs Bakker
503db70a6a
fix: typo in a LSP error message ( #1805 )
2022-03-24 20:59:41 +01:00
tami5
ef7b6ada6d
feat: improve UX with vim.notify ( #1763 )
...
* fix(notify): don't report request on new line
* ref(notify): update message format
* ref(msgs): always quote values + decrease duplication
* fix(ci): undefined variables
* ref(actions): temporary silent actions.__index errors
* cleanup
* revert: panic effort, we continue to use error for those
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2022-03-13 18:11:27 +01:00
tami5
1c4cd6cdaa
feat(lsp_references): expose include_declaration option (default still true) ( #1449 )
2022-03-11 12:46:29 +01:00
James Trew
206e71d133
fix: add opts.bufnr and opts.winnr to builtin picker ( #1706 )
2022-02-14 17:39:58 +01:00
Chinmay Dalal
2553236fe1
fix(lsp): add missing offset encoding ( #1718 )
2022-01-28 16:15:21 +01:00
Chinmay Dalal
0011b1148d
fix: add offset encoding to vim.lsp.util.locations_to_items() call ( #1694 )
2022-01-18 08:10:15 +01:00
Richard Mathieson
2cb7e11cc1
fix: add offset encoding to apply_workspace_edit call ( #1697 )
2022-01-18 08:07:29 +01:00
Chinmay Dalal
3bf4d4b4d0
fix (nightly): add offset encoding to vim.lsp.util.jump_to_location() call ( #1688 )
2022-01-14 16:54:23 +01:00
Simon Hauser
56325fefb2
feat: migrate to Telescope diagnostics using vim.diagnostic ( #1553 )
2021-12-10 17:49:06 +01:00
Simon Hauser
61240ac75a
break: bump the minimum required neovim version to 0.6 or higher ( #1549 )
...
So we can use `vim.json` and `vim.diagnostics`.
If you aren't able to update to 0.6.* yet you should pin the previous commit.
2021-12-10 16:32:28 +01:00
Jun
182c43b9d1
fix: lsp concatenate err ( #1558 )
2021-12-05 16:25:49 +01:00
Simon Hauser
4b3efd2341
fix: lsp_workspace_symbols ( #1535 )
2021-12-02 18:00:26 +01:00
Chinmay Dalal
7462999202
fix: make lsp_* async ( #1506 )
2021-12-02 07:51:13 +01:00
klausweiss
b2f16c788e
fix: LSP code actions not working for some language servers ( #1381 )
2021-11-13 14:11:08 +01:00
Rafael Delboni
b5c63c6329
fix: Bug with nil action error ( #1340 )
...
only affects 0.5.1
2021-10-12 23:17:42 +02:00
fdschmidt93
c19eae901c
feat: filtering for dynamic workspace symbols ( #1336 )
...
* enable `symbols` filtering opt for builtin.dynamic_workspace_symbols
2021-10-12 18:48:55 +02:00
Simon Hauser
ec6c13fc09
fix: code action for rust analyzer ( #1311 )
2021-10-07 13:49:14 +02:00
Jose Alvarez
a005e58a48
fix(lsp): check if action.command.arguments is nil ( #1274 )
2021-09-22 08:37:45 +02:00
Matsu
aaffa84ebb
feat: Remove version field if zero from codeaction calls ( #738 )
...
should fix code actions for jdtls
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com >
2021-09-15 18:31:51 +02:00
Rodrigodd
d022ccaf11
feat: lsp type definitions ( #1224 )
2021-09-12 11:36:28 +02:00
TJ DeVries
162cf7b534
fix(lsp): Handle new signature for lsp handlers
2021-09-05 21:07:41 -04:00
TJ DeVries
a97af306c4
feat(performance): Major performance improvements using async v2 from @oberblastmeister ( #987 )
...
* start: Working w/ async jobs
* short circuit to using bad finder if you pass writer.
2021-08-20 11:11:24 -04:00
Jan Steinke
615efe666b
Allow range parameters on command parser ( #1123 )
2021-08-19 19:11:22 +02:00
Marten Trip
06e55d3b3a
fix: builtin list_or_jump now handles non list replies from the server ( #1101 )
...
fix for servers such as zls and clojure_lsp
2021-08-11 20:03:31 +02:00
zeertzjq
d7cdfcbeb6
feat: add option jump_type to lsp_definitions and lsp_implementations ( #1077 )
2021-08-04 22:33:13 +02:00
Dhruv Manilawala
aa7c13ea36
fix: escape newlines in code action title ( #1012 )
2021-08-04 22:16:18 +02:00
Simon Hauser
79644ab677
chore: use stylua for formatting ( #1040 )
...
* chore: stylua job and config
* reformat with stylua
2021-07-23 11:42:37 -04:00
caojoshua
d5a8e48aa6
Consistent filepath display and code cleanup. ( #839 )
...
BREAKING CHANGE: see :help telescope.changelog-839 for more information
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-07-08 10:30:44 +02:00
JINNOUCHI Yasushi
0c1bc129da
chore: use plenary.strings and remove strings functions from utils ( #690 )
...
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-06-14 20:47:33 +02:00
fdschmidt93
e27c87f88a
feat: add filtering by symbol(s) to lsp_{document,workspace}_symbols ( #903 )
2021-06-10 23:10:18 +02:00
William Boman
88f7b27222
handle errors from buf_request_sync ( #819 )
2021-05-06 23:00:31 +03:00
William Boman
3adeab2bed
fix: support multiple clients in lsp code actions ( #722 )
...
* fix: support multiple clients in lsp code actions
* no goto
* reduce diff a bit
* use displayer, also include lsp client name for each entry
* review comments
2021-04-20 17:48:29 -07:00
Viktor Kojouharov
13dae8c4d9
lsp: Implement lsp.implementations similar to lsp.definitions ( #743 )
...
Fixes #730
2021-04-20 17:31:43 -07:00
oberblastmeister
253d3aaa6b
added a new DynamicFinder (which can be used with rust_analyzer) ( #705 )
...
* started tree finder
* made tree more ergonmic
* deleted unneeded comments
* added stack root and node
* added preprocessing
* using staticfinder instead of separate finder, custom entry maker
* added selections and remember
* removed unused stuff
* fixed warnings
* fixed remember and selections pop
* started branch
* added go function
* changed up test
* removed root parameter from go function
* changed back to not do_close
* removed node and leaf classes
* removed stack class instead for table.insert and table.remove
* fixed warning
* started branch
* added better preprocessor and tree class
* started some tests
* finished making tests pass
* cleaned up
* fixed make entry and updated example
* started
* added some stuff
* deleted uneeded stuff
* added cancelable
* changed workspace requester
* use better cancellation mechanism
* removed accidental stuff
* removed useless print
* delete more useless stuff
* rename to dynamic
* added request cancellation
* CHECK IF NIL
* removed unused
* added trash global variable
2021-04-13 14:39:14 -04:00
ovikk13
89a6161c81
Fix #707 : lsp_workspace_symbols add support for multiple clients. ( #718 )
2021-04-03 20:11:38 +03:00
oberblastmeister
ff428c9187
feat: lsp definitions ( #631 )
...
* added lsp definitoins
* don't call locations_to_items when there is one
Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr >
* added missing end
* added description
* added to feature map
* Update lua/telescope/builtin/lsp.lua
Co-authored-by: fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com >
* Update lua/telescope/builtin/lsp.lua
Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr >
Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr >
Co-authored-by: fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com >
2021-03-09 14:17:56 -05:00
fdschmidt93
908752fc67
feat: workspace diagnostics, jump to and improved styling ( #599 )
...
Changes: `Telescope lsp_diagnostics` is now `Telescope lsp_document_diagnostics`
New: `Telescope lsp_workspace_diagnostics`
Co-authored-by: Fabian David Schmidt <fabian.david.schmidt@hotmail.com >
Co-authored-by: elianiva <dicha.arkana03@gmail.com >
2021-03-04 15:01:17 +01:00
fdschmidt93
db7615578b
feat: lsp diagnostics and prefiltering by entry attribute ( #543 )
...
prefiltering for lsp_document_symbols and lsp_workspace_symbols.
example: type `:var:` to show all vars
2021-03-03 22:33:03 +01:00
TJ DeVries
0fef4c3e17
fix: remove gotos because this breaks lua 5.1 ( #583 )
2021-03-03 17:51:44 +01:00