aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/buf.lua
Commit message (Collapse)AuthorAge
* LSP: Move default buf callbacks to vim.lsp.callbacks (#11452)Ashkan Kiani2019-11-26
| | | | | | | - In the process, refactored focusable_preview to a util function. - Add text for locations_to_items of the current line. - Improve location callback to handle multiple return values by using set_qflist. - Remove update_tagstack and leave note for future travelers.
* Add support for textDocument/references.Ashkan Kiani2019-11-24
| | | | | | Add set_qflist and set_loclist. - Also add locations_to_items, which calculates byte offsets for character positions in files and avoids unnecessary operations.
* UI tweaks.Ashkan Kiani2019-11-23
| | | | | | - Hide diagnostics on client exit - Stop insert on popup focus. - Hide popup on insertchar (for signature_help)
* Fix encoding translation in other places.Ashkan Kiani2019-11-21
|
* Fix position params for encoding.Ashkan Kiani2019-11-21
|
* Account for character length in jump position.Ashkan Kiani2019-11-21
|
* UpdatesAshkan Kiani2019-11-21
| | | | | | | | - Use correct implementation of text_edits. - Send indent options to rangeFormatting and formatting. - Remove references to vim bindings and filetype from lsp.txt - Add more examples to docs. - Add before_init to allow changing initialize_params.
* Use the apply_text_edits from util.Ashkan Kiani2019-11-20
|
* Fix reference in rename.Ashkan Kiani2019-11-20
|
* Add full text_edit implementation.Ashkan Kiani2019-11-20
| | | | | | | | - Implements textDocument/formatting, textDocument/rangeFormatting, workspace/applyEdit. TODO: - still has edge cases around replacement probably. Only tested with inserts on the same position.
* Satisfy lualint.Ashkan Kiani2019-11-20
|
* Fix rename support.Ashkan Kiani2019-11-20
|
* Spaces not tabs.Ashkan Kiani2019-11-20
|
* Change error writer to not be annoying.Ashkan Kiani2019-11-20
|
* Move everything to buf & default_callbacksAshkan Kiani2019-11-20
| | | | | | | | - Rename builtin_callbacks to default_callbacks and slightly change its semantics: - No longer contains the default implementations. Instead, any default_callbacks will be used in preference for our .buf methods. - Add this to the docs.
* Add everything to lsp.buf and get rid of autoload.Ashkan Kiani2019-11-20
|
* Add lsp.buf and hover implementation.Ashkan Kiani2019-11-20