Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(lsp): improve vim.lsp.util.apply_text_edits (#15561) | hrsh7th | 2021-09-18 |
| | | | | | - Fix the cursor position after applying TextEdits - Support reversed range of TextEdit - Invoke nvim_buf_set_text one by one | ||
* | refactor: move vim.lsp.diagnostic to vim.diagnostic | Gregory Anders | 2021-09-15 |
| | | | | | | | | | | | This generalizes diagnostic handling outside of just the scope of LSP. LSP clients are now a specific case of a diagnostic producer, but the diagnostic subsystem is decoupled from the LSP subsystem (or will be, eventually). More discussion at [1]. [1]: https://github.com/neovim/neovim/pull/15585 | ||
* | fix(lsp): correctly parse LSP snippets #15579 | hrsh7th | 2021-09-14 |
| | | | Fixes #15522 | ||
* | feat(lsp): get_border_size(): support repeating border char list #15474 | zeertzjq | 2021-08-27 |
| | |||
* | docs: make Lua docstrings consistent #15255 | Gregory Anders | 2021-08-22 |
| | | | | | | | | | | | | The official developer documentation in in :h dev-lua-doc specifies to use "--@" for special/magic tokens. However, this format is not consistent with EmmyLua notation (used by some Lua language servers) nor with the C version of the magic docstring tokens which use three comment characters. Further, the code base is currently split between usage of "--@", "---@", and "--- @". In an effort to remain consistent, change all Lua magic tokens to use "---@" and update the developer documentation accordingly. | ||
* | fix(lsp): properly handle `nil` lines when trimming empty lines (#15325) | Andrea Cappuccio | 2021-08-10 |
| | |||
* | fix(lsp): floating popup should take offset_x into account when positioning ↵ | Hans Pinckaers | 2021-08-09 |
| | | | | (#15297) | ||
* | docs: Add some references to LSP specification (#15321) | max397574 | 2021-08-09 |
| | |||
* | fix(lsp): prevent duplicate lines seperated by newlines (#15284) | Folke Lemaitre | 2021-08-06 |
| | |||
* | feat(lsp): allow configuring zindex for floating windows (#15086) | rayx | 2021-07-19 |
| | |||
* | doc(lsp): various small fixes (#15113) | Ido Ariel | 2021-07-17 |
| | | | | | | - remove incorrect usage of docstrings - fix make_formatting_params return type documentation to 'DocumentFormattingParams' - make progress_handler private - fix links | ||
* | fix(lsp): support duplicate params in signature help (#15032) | Folke Lemaitre | 2021-07-09 |
| | |||
* | feat(lsp): highlight active parameter in signature help (#15018) | Folke Lemaitre | 2021-07-07 |
| | |||
* | fix(lsp): prevent double <text> for cached plaintext markup | Folke Lemaitre | 2021-07-05 |
| | |||
* | Fixed +1 -1 in util.lua (#14913) | jimman2003 | 2021-06-26 |
| | | | No point in adding and then subtracting I believe ;) | ||
* | fix(lsp): render the last line in stylize_markdown | Folke Lemaitre | 2021-06-25 |
| | |||
* | style(lsp): make get_markdown_fences private | Folke Lemaitre | 2021-06-25 |
| | |||
* | feat(lsp): use markdown_fenced_languages in stylized_markdown | Folke Lemaitre | 2021-06-25 |
| | |||
* | chore(lsp): removed deprecated floating preview methods | Folke Lemaitre | 2021-06-17 |
| | |||
* | fix(lsp): replace --- by a line in stylize_markdown | Folke Lemaitre | 2021-06-15 |
| | |||
* | fix(lsp): allow 'rounded' and 'solid' in floats | Timothée Sterle | 2021-06-14 |
| | |||
* | fix(lsp): convert_input_to_markdown_lines: preserve plaintext | Folke Lemaitre | 2021-06-12 |
| | |||
* | feat(lsp): Split out a `diagnostics_to_items` function from set_loclist | Mathias Fussenegger | 2021-06-07 |
| | | | | | Makes it easier to re-use the logic to populate the quickfix list instead of the location list. | ||
* | Merge pull request #14726 from folke/lsp_single_popup_per_buffer | Michael Lingelbach | 2021-06-06 |
|\ | | | | | fix(lsp): max 1 floating preview per buffer. Fixes #11508 | ||
| * | fix(lsp): max 1 floating preview per buffer. Fixes #11508 | Folke Lemaitre | 2021-06-05 |
| | | |||
* | | feat(lsp): extend diagnostic.set_loclist | Viktor Kojouharov | 2021-06-06 |
| | | | | | | | | add option to show workspace diagnostic instead of the current buffer's | ||
* | | docs(lsp): fix locations_to_items docstring | Michael Lingelbach | 2021-06-05 |
| | | |||
* | | Merge pull request #14730 from mjlbach/feature/open_loclist_on_win | Michael Lingelbach | 2021-06-05 |
|\ \ | | | | | | | fix(lsp): set_loclist should target current win | ||
| * | | fix(lsp): set_loclist should target current win | Michael Lingelbach | 2021-06-05 |
| |/ | | | | | | | | | | | Currently, for large number of diagnostics, the delay in populating loclist may be sufficient for a user to switch to another window, resulting in the loclist being populated on the wrong window. | ||
* / | fix(lsp): floating window border size for string type 'none' and 'shadow' | ray-x | 2021-06-02 |
|/ | |||
* | Merge pull request #14693 from ↵ | Michael Lingelbach | 2021-06-01 |
|\ | | | | | | | | | shadmansaleh/enhance/lsp/make_focusable_parameter_configurable feat(lsp): Make focusability of lsp float configurable | ||
| * | docs(lsp): Fix opts param not captured by docgen | shadmansaleh | 2021-06-01 |
| | | | | | | | | | | | | In the documentation for `vim.lsp.util.open_floating_preview` the opts table keys were prefixed with `--` instead of `---`, preventing capture by docgen. | ||
| * | feat(lsp): Make focusability of lsp float configurable | shadmansaleh | 2021-06-01 |
| | | | | | | | | | | | | | | | | | | | | | | This pr allows the user to specify whether `lsp.utils.open_floating_preview` is focusable via the `opts` parameter. Defaults to true. It can be configured by setting the focusable key inside opts parameter: ```lua vim.lsp.util.open_floating_preview(contents, syntax, {focusable = false}) ``` | ||
* | | Merge pull request #14694 from folke/lsp_popup_border | Michael Lingelbach | 2021-06-01 |
|\ \ | |/ |/| | |||
| * | fix(lsp): properly handle border character list without highlight groups. ↵ | Folke Lemaitre | 2021-06-01 |
| | | | | | | | | Fixes #14691 | ||
* | | Merge pull request #14635 from folke/lsp_get_lines | Michael Lingelbach | 2021-05-31 |
|\ \ | |/ |/| | perf(lsp): get all lines from a file in one go (`locations_to_items`) | ||
| * | perf(lsp): get all lines from a file in one go | Folke Lemaitre | 2021-05-25 |
| | | |||
* | | refactor(lsp): consolidate the different floating window methods into ↵ | Folke Lemaitre | 2021-05-29 |
| | | | | | | | | open_floating_preview | ||
* | | lsp: Ensure floating markdown buffers are deleted on hide | Mathias Fussenegger | 2021-05-26 |
|/ | | | | | After the change to use fancy_floating_markdown for the signature help I noticed that scratch buffers start to accumulate. | ||
* | Merge pull request #14615 from folke/faster_locations_to_items | Michael Lingelbach | 2021-05-22 |
|\ | | | | | perf(lsp): `locations_to_items`: use libuv for unloaded buffers to get line | ||
| * | perf(lsp): locations_to_items use libuv for unloaded buffers to get line | Folke Lemaitre | 2021-05-22 |
| | | |||
* | | Merge pull request #14269 from fdschmidt93/fix/document_symbol_range | Michael Lingelbach | 2021-05-22 |
|\ \ | | | | | | | fix(lsp): prefer selectionRange over range for document symbols in vim.lsp.util.symbols_to_items | ||
| * | | fix: selectionrange over range for document symbols | Fabian David Schmidt | 2021-04-01 |
| | | | |||
* | | | Merge pull request #14603 from folke/format_on_save | Michael Lingelbach | 2021-05-22 |
|\ \ \ | |_|/ |/| | | fix(lsp): allow apply_text_edits to append text (insert at last line) | ||
| * | | fix(lsp): allow apply_text_edits and set_lines to insert text after the last ↵ | Folke Lemaitre | 2021-05-21 |
| | | | | | | | | | | | | line. Fixes #14017 | ||
* | | | feat(lsp): use fancy_floating_markdown for signature_help | Folke Lemaitre | 2021-05-21 |
| | | | |||
* | | | fix(lsp): clear current_syntax before formatting fancy markdown region | Folke Lemaitre | 2021-05-21 |
| | | | |||
* | | | fix(lsp): preview_location options and syntax fallback | Folke Lemaitre | 2021-05-21 |
| | | | |||
* | | | feat(lsp): lsp.util.fancy_floating_markdown improvements | Folke Lemaitre | 2021-05-21 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix: fancy_floating_markdown: syn region must include keepend to make sure syntax regions are applied correctly. Fixes #14594 feat: fancy_floating_markdown: handle <pre></pre> code blocks as a markdown code block with plaintext fix: possible nil check for markdown code blocks till end of buffer refactor: only one check is needed to see if stripped[h.finish +1] is valid fix(lsp): dont't set doc ownsyntax, since it breaks contained syntaxes. Set regions for the markdown blocks intsead fix: apply markdown formatting for code blocks without a language fix: use markdownCodeBlock when no language was set in a code block | ||
* | | Merge pull request #14563 from mjlbach/fix_intelephense_langserver | Michael Lingelbach | 2021-05-19 |
|\ \ | | | | | | | lsp: handle case where CompletionItem.insertTextFormat is nil |