aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
Commit message (Collapse)AuthorAge
...
* | | | Merge pull request #14262 from mjlbach/feature/lsp_did_save_autocommandMichael Lingelbach2021-04-01
|\ \ \ \ | | | | | | | | | | lsp: clear did_save handler autocommand on each attach
| * | | | lsp: clear did_save handler autocommand on each attachMichael Lingelbach2021-03-31
| |/ / /
* / / / lsp: fix textDocument/workspaceSymbol -> workspace/symbolMichael Lingelbach2021-03-31
|/ / /
* | | ts: Add per-language highlight linksTJ DeVries2021-03-31
| | |
* | | Merge pull request #14252 from tjdevries/tjdevries/ts_query_overridesThomas Vigouroux2021-03-31
|\ \ \ | | | | | | | | ts: Add per-language query overriding
| * | | ts: Add per-language query overridingTJ DeVries2021-03-30
| | | |
* | | | Merge pull request #14233 from mjlbach/disable_utf16_conversionMichael Lingelbach2021-03-30
|\ \ \ \ | | | | | | | | | | lsp: use utf-8 when utf-16 not requested
| * | | | lsp: use utf-8 when utf-16 not requestedMichael Lingelbach2021-03-30
| |/ / /
* / / / ts: Add language version to vim.treesitter (#14255)TJ DeVries2021-03-30
|/ / /
* | | lsp: fix utf-16 ranges to use second return value for incremental syncMichael Lingelbach2021-03-28
| | |
* | | Merge pull request #14231 from mjlbach/fix_utf16_rangesMichael Lingelbach2021-03-27
|\ \ \ | | | | | | | | lsp: fix utf16 ranges for incremental sync
| * | | lsp: fix utf16 ranges for incremental syncMichael Lingelbach2021-03-27
| | | |
* | | | fix(treesitter): dedupe runtime file listSteven Sojka2021-03-23
| |/ / |/| |
* | | Merge pull request #14186 from mjlbach/feature/make_signature_help_beautifulMichael Lingelbach2021-03-23
|\ \ \ | |/ / |/| | lsp: add syntax highlighting to signature help
| * | lsp: add syntax highlighting to signature helpMichael Lingelbach2021-03-22
| | |
* | | lsp: Unopened buffers return 0 for line count, which leads to broken positionsTJ DeVries2021-03-22
| | |
* | | lsp: Force re-display of diagnostics when opening a fileTJ DeVries2021-03-22
| | |
* | | runtime/lua/vim/lsp: check emptyness in get_completion_wordVincent Rischmann2021-03-21
| | |
* | | lsp: set syntax instead of filetype for preview location highlightingMichael Lingelbach2021-03-19
|/ /
* | lsp: Add support for delete workspaceEdit resource operationMathias Fussenegger2021-03-18
| |
* | lsp: Add support for create workspaceEdit resource operationMathias Fussenegger2021-03-18
| |
* | lsp: Add support for file rename via workspaceEditMathias Fussenegger2021-03-18
| |
* | Merge pull request #14145 from teto/remove-tshighlighterMatthieu Coudron2021-03-16
|\ \ | | | | | | chore: remove deprecated lua module tshighlighter
| * | chore: remove deprecated lua module tshighlighterMatthieu Coudron2021-03-16
| | |
* | | Merge pull request #14098 from mjlbach/fix_highlighting_lsp_markdownMichael Lingelbach2021-03-15
|\ \ \ | | | | | | | | lsp: fix highlighting for lsp markdown code blocks
| * | | lsp: fix highlighting for lsp markdown code blocksMichael Lingelbach2021-03-10
| |/ /
* / / lsp: Use incremental sync by defaultMathias Fussenegger2021-03-11
|/ / | | | | | | | | | | | | | | | | With the new implementation added in https://github.com/neovim/neovim/pull/14079 I think this is now working well enough to enable it by default. There are high CPU usage issues popping up now and then and they might at least partially be related to the full-text sync.
* | Merge pull request #14073 from mjlbach/feature/syntax_highlight_ruleMichael Lingelbach2021-03-10
|\ \ | | | | | | lsp: add custom syntax rule for floating window
| * | lsp: add custom syntax rules for lsp floating windowMichael Lingelbach2021-03-09
| | |
* | | lsp: Resolve codeLense server capabilities (#14056)Josa Gesell2021-03-10
| | |
* | | lsp: get_language_id (#14092)TJ DeVries2021-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow specifying a languageId for a lsp For some languages the filetype might not match the languageId the language server accepts. In these cases the config for the language server can contain a function which gets the current buffer and filetype and returns a languageId. When it isn't provided the filetype is used instead. Example: ```lua require'lspconfig'.sourcekit.setup{ get_language_id = function(bufnr, ft) return 'swift' end; } ``` Closes #13093 * lsp: Change to get_language_id Co-authored-by: Jan Dammshäuser <mail@jandamm.de>
* | | lsp: fix endline such that it cannot point outside the buffer rangeMichael Lingelbach2021-03-10
| | |
* | | lsp: add incremental text synchronizationMichael Lingelbach2021-03-09
| | | | | | | | | | | | | | | * Implementation derived from and validated by vim-lsc authored by Nate Bosch
* | | Merge pull request #13993 from teto/gendocMatthieu Coudron2021-03-07
|\ \ \ | |/ / |/| | improve vimdoc generation
| * | chore: rename progress_callback to progress_handlerMatthieu Coudron2021-03-04
| | |
* | | Merge pull request #13919 from TheAlakazam/lsplogfixMichael Lingelbach2021-03-06
|\ \ \ | | | | | | | | fix: fix empty line in lsp log after each run
| * | | lsp: add explicit entry on lsp log startPiyush Jaipuriyar2021-03-06
| | | | | | | | | | | | | | | | fix: address typo and review comments
* | | | Merge pull request #13793 from mjlbach/fix_terminating_eol_diagnosticMichael Lingelbach2021-03-05
|\ \ \ \ | | | | | | | | | | [RDY] lsp: fix diagnostic reported on terminating EOL character
| * | | | lsp: fix diagnostic reported on terminating EOL characterMichael Lingelbach2021-03-02
| | |/ / | |/| |
* | | | lsp: don't invoke vim.notify on sigterm of language serverMichael Lingelbach2021-03-04
| | | |
* | | | lsp: invoke vim.notify when client exits with code or signal other than 0Michael Lingelbach2021-03-04
|/ / /
* | | fix: show error when language server start fails and prevent future requestsDavid Zhang2021-02-26
| | |
* | | LSP: Resolve text_document_save capability according to specMathias Fussenegger2021-02-25
| | | | | | | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/13989 See https://github.com/microsoft/language-server-protocol/issues/288
* | | [LSP] Add in more docs for highlight groups with document_highlight() (#13614)Chris Kipp2021-02-24
| | | | | | | | | | | | | | | | | | Currently it's not 100% clear that without setting these, using the autocomds to utilize the `textDocument/documentHighlight` functionality, nothing will actually be visible since the highlight groups don't have any details. This just adds in a couple simple extra notes to make sure that's done
* | | fix: treesitter languagetree crash when using telescope buffer previewer ↵Simon Hauser2021-02-23
| | | | | | | | | | | | (#13986)
* | | lsp: remove deprecated references to 'callbacks' (#13945)Matthieu Coudron2021-02-23
| | | | | | | | | | | | | | | vim.lsp.callbacks was deprecated a few months ago. This is a cleanup before the release. Use vim.lsp.handlers instead.
* | | feat(lsp): use vim.notify for some errors (#13992)Matthieu Coudron2021-02-22
| | |
* | | lsp: Fix text edits operating on the last line of a document (#13677)Mathias Fußenegger2021-02-19
| | | | | | | | | | | | | | | | | | `lines` can be empty, in which case `#lines[#lines]` failed with an error: lsp/util.lua:214: attempt to get length of a nil value
* | | lsp: client stop cleanups (#13877)Michael Lingelbach2021-02-19
|/ / | | | | | | | | | | | | | | * lsp: client stop cleanups * Add diagnostic clearing to client.stop() method used by nvim-lspconfig * Clear diagnostic cache to prevent stale diagnostics on client restart * lsp: Add test for vim.lsp.diagnostic.reset
* | buffer updates: add on_reload callback and handle it in treesitter parserBjörn Linse2021-02-10
| |