Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(lsp): fix infinite loop | Lewis Russell | 2024-11-09 |
| | | | | Fixes #31129 | ||
* | perf(lsp): do not apply semantic tokens to folded lines | Lewis Russell | 2024-11-08 |
| | | | | Fixes #31106 | ||
* | feat(lsp): multi-client support for signature_help | Lewis Russell | 2024-11-04 |
| | | | | | Signatures can be cycled using `<C-s>` when the user enters the floating window. | ||
* | feat(lsp)!: remove client-server handlers from vim.lsp.handlers | Lewis Russell | 2024-11-01 |
| | | | | | | | | | | - Partition the handlers in vim.lsp.handlers as: - client to server response handlers (RCS) - server to client request handlers (RSC) - server to client notification handlers (NSC) Note use string indexes instead of protocol.methods for improved typing in LuaLS (tip: use hover on RCS, RSC or NSC). | ||
* | fix(lsp): hover border type can be string (#31013) | nikolightsaber | 2024-11-01 |
| | | | | | Border type can also be a string as defined in `api-win_config` Co-authored-by: Nikolai Devolder <nikolai.devolder@yamabiko.eu> | ||
* | fix(lsp): correct hover result handling (#30995) | notomo | 2024-10-30 |
| | | | | | | | Problem: vim.lsp.buf.hover() displays "No information available" when client_id is not 1. Solution: use vim.tbl_isempty(tbl) instead of #tbl==0 | ||
* | Merge pull request #30935 from lewis6991/feat/lsp_multi_hover | Lewis Russell | 2024-10-29 |
|\ | |||
| * | feat(lsp)!: multiple client support for vim.lsp.buf.hover() | Lewis Russell | 2024-10-29 |
| | | | | | | | | Deprecate `vim.lsp.handlers.hover` and `vim.lsp.handlers['textDocument/hover']` | ||
* | | fix(lsp): list all workspace folders in healthcheck #30966 | Maria José Solano | 2024-10-28 |
| | | |||
* | | docs(lsp): document alternative for vim.lsp.util.jump_to_location | Maria José Solano | 2024-10-27 |
| | | |||
* | | refactor(lsp): drop str_byteindex/str_utfindex wrappers #30915 | Tristan Knight | 2024-10-26 |
|/ | | | | | * deprecate old signatures * move to new str_byteindex/str_utfindex signature * use single-underscore name (double-underscore is reserved for Lua itself) | ||
* | feat(lsp): deprecate vim.lsp.buf.completion | Lewis Russell | 2024-10-24 |
| | | | | Use `vim.lsp.completion.trigger()` instead' | ||
* | feat(lsp): deprecate execute_command with client:exec_cmd | Lewis Russell | 2024-10-24 |
| | |||
* | fix(lsp): better multi-client support for callHierarchy | Lewis Russell | 2024-10-24 |
| | | | | | | | | Only ever display a dialogue box once. Switch from vim.fn.inpulist to vim.ui.select refactor(lsp): merge call and type hierarchy functions | ||
* | fix(lsp): use correct method for prepareTypehierarchy | Lewis Russell | 2024-10-24 |
| | | | | Regression from #30902 | ||
* | fix(lsp): set tagstack on jump via goto methods | Mathias Fussenegger | 2024-10-24 |
| | | | | | Follow up to https://github.com/neovim/neovim/pull/30877 Fixes https://github.com/neovim/neovim/issues/30926 | ||
* | fix(lsp.buf): use correct offset_encoding for all requests | Lewis Russell | 2024-10-24 |
| | | | | | | | | | | | | | | | Problem: `lsp.buf_request` send the same params to all servers and many calls to this pass PositionalParams which depends on the clients offset_encoding. This can result with incorrect params being sent to a server. Solution: `lsp.buf_request` `params` argument can now be passed as a function which takes the client as the first argument. This is used in lsp/buf.lua to construct correct params for each client request. | ||
* | fix(lsp.protocal): improve typing of constants | Lewis Russell | 2024-10-24 |
| | |||
* | refactor(lsp.buf): remove buf_request wrapper | Lewis Russell | 2024-10-24 |
| | |||
* | refactor(lsp.buf): use alias for vim.lsp | Lewis Russell | 2024-10-24 |
| | |||
* | fix(lsp): handle mixed encoding in tagfunc params | Mathias Fussenegger | 2024-10-24 |
| | | | | Relates to https://github.com/neovim/neovim/issues/30034 | ||
* | fix(lsp): support multiple clients in typehierarchy | Lewis Russell | 2024-10-22 |
| | |||
* | feat(vim.validate): improve fast form and deprecate spec form | Lewis Russell | 2024-10-21 |
| | | | | | | | | | | | | | | Problem: `vim.validate()` takes two forms when it only needs one. Solution: - Teach the fast form all the features of the spec form. - Deprecate the spec form. - General optimizations for both forms. - Add a `message` argument which can be used alongside or in place of the `optional` argument. | ||
* | refactor: rename vim.highlight => vim.hl | Justin M. Keyes | 2024-10-21 |
| | | | | | | | | | | | | Problem: - `vim.highlight` module does not follow `:help dev-name-common`, which documents the name for "highlight" as "hl". - Shorter names are usually preferred. Solution: Rename `vim.highlight` to `vim.hl`. This is not a breaking change until 2.0 (or maybe never). | ||
* | feat(lsp)!: support multiple clients in goto methods (#30877) | Mathias Fußenegger | 2024-10-20 |
| | | | | | | | | | | | | | | | Relates to: - https://github.com/neovim/neovim/issues/30034 - https://github.com/neovim/neovim/issues/17712 - https://github.com/neovim/neovim/issues/16363 Closes: - https://github.com/neovim/neovim/issues/26936 (but only provides bufnr and method) - https://github.com/neovim/neovim/issues/22318 Might fix: https://github.com/neovim/neovim/issues/30737 | ||
* | feat(lsp)!: support multiple clients in lsp.buf.references | Mathias Fussenegger | 2024-10-20 |
| | | | | | | | Relates to: - https://github.com/neovim/neovim/issues/17712 - https://github.com/neovim/neovim/issues/30034 | ||
* | fix(lsp.util): wrong arguments to 'validate' function | temhelk | 2024-10-18 |
| | |||
* | perf(validate): use lighter version | Lewis Russell | 2024-10-17 |
| | | | | | - Also fix `vim.validate()` for PUC Lua when showing errors for values that aren't string or number. | ||
* | Merge pull request #30825 from lewis6991/refactor/lsputil | Lewis Russell | 2024-10-17 |
|\ | |||
| * | feat(lsp.util): minor codestyle | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): improve offset_encoding type annotations | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): remove some variables | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): use vim.w/b | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): remove some aliases | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): remove unneeded table | Lewis Russell | 2024-10-17 |
| | | |||
| * | fix(lsp.util): inconsistent handling of offset_encoding | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): get_bufs_with_prefix -> get_writeable_bufs | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): refactor get_border_size() | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): simplify some bounds checking | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): remove metatable in locations_to_items | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): refactor symbols_to_items() | Lewis Russell | 2024-10-17 |
| | | | | | | | | | | - Remove the trivial function vim.lsp.util._get_symbol_kind_name() and its tests. | ||
| * | feat(lsp.util): remove uneeded do-end | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): use vim.api alias | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): fix type errors | Lewis Russell | 2024-10-17 |
| | | |||
| * | feat(lsp.util): remove lsp spec extract | Lewis Russell | 2024-10-16 |
| | | |||
| * | feat(lsp.util): use faster version of vim.validate | Lewis Russell | 2024-10-16 |
| | | |||
* | | feat(lsp): show server name in code actions #30830 | Jordan | 2024-10-17 |
| | | | | | | | | | | | | | | Problem: If there are multiple LSP clients, it's not clear which actions are provided by which servers. #30710 Solution: Show the server name next to each action (only if there are multiple clients). | ||
* | | fix(lsp): str_byteindex_enc bounds checking #30747 | Tristan Knight | 2024-10-16 |
|/ | | | | | | | | | Problem: Previously the index was only checked against the UTF8 length. This could cause unexpected behaviours for strings containing multibyte chars Solution: Check indicies correctly against their max value before returning the fallback length | ||
* | fix(lsp): handle multiline signature help labels #30460 | Maria José Solano | 2024-10-15 |
| | |||
* | docs: update autotrigger description of vim.lsp.compleiton.BufferOpts (#30796) | glepnir | 2024-10-13 |
| | | | Currently the behavior of autotrigger is not well documented. |