aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* | lsp: remove references to LspInstall (#13738)Michael Lingelbach2021-01-12
| | | | | | and adjust sumneko setup instructions
* | lsp: Add severity_limit for other diagnostics features (#13528)TJ DeVries2021-01-12
| | | | | | | | | | | | | | | | | | | | | | * lsp: Add severity_limit for other diagnostics * docs and tests * fix: lint * Add to other types * fix: lint
* | fix(lsp): Allow subsequent text document edits to pass (#13534)TJ DeVries2021-01-11
| | | | | | | | | | | | | | * fix: Allow subsequent text document edits to pass * fixup: cleaner code * add tests
* | Merge pull request #13439 from shade-of-noon/man-iskeywordJames McCoy2021-01-11
|\ \ | | | | | | [RDY] man.vim: Set iskeyword explicitly.
| * | man.vim: Add double click mapping.Edwin Pujols2020-12-09
| | |
| * | man.vim: Set iskeyword explicitly.Edwin Pujols2020-12-04
| | | | | | | | | | | | | | | This also fixes `:Man!`, which wasn't setting 'iskeyword' to contain parentheses, etc.
* | | runtime/elm: acc224064033e5cea21ef7f1eefb356ca06ff11d (#13718)Dimitar Apostolov2021-01-08
| | | | | | | | | | | | | | | Port ftplugin, syntax and indent Elm files. Ref: #13193
* | | Merge pull request #13689 from janlazo/vim-8.2.0050Matthieu Coudron2021-01-06
|\ \ \ | |_|/ |/| | vim-patch:8.1.{1731,1764,2111,2126},8.2.{50,590}
| * | vim-patch:8.2.0590: no 'backspace' value allows ignoring the insertion pointJan Edmund Lazo2021-01-05
| | | | | | | | | | | | | | | | | | Problem: No 'backspace' value allows ignoring the insertion point. Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes vim/vim#5940) https://github.com/vim/vim/commit/aa0489e12d227d24752cf16e4e97058ac32edcc1
* | | LSP: Add diagnostic tags to client capabilities (#13578)Timmy Xiao2021-01-05
|/ / | | | | pyright (possibly others) does not send any hint diagnostics if we do not have tagSupport in PublishDiagnosticsClientCapabilities. This PR just adds them.
* | remove trailing tabsPatrik Wenger2021-01-04
| |
* | treesitter: simplify query reading logicBjörn Linse2021-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the plugin/package manager should "manage" after/. Consumers of nvim_get_runtime_file() should not need to special case it (if your plugin manager is broken then fix it instead). Don't use vim.fn.readfile(). Lua can already read files. It is even better at it than vim script. expose M.get_query_files(). Listing the queries is essential for user config debug, and let plugins do fun things with it. Abstraction-by-obscurity is not useful (plugins can just cargo cult copy the code anyway, better with public entry points).
* | vim-patch:8.2.0861: cannot easily get all the current marks (#13676)Jan Edmund Lazo2021-01-03
| | | | | | | | | | | | | | | | | | | | | | Problem: Cannot easily get all the current marks. Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032) https://github.com/vim/vim/commit/cfb4b47de08e4437c692d382067dc1692cd83c23 Cherry-pick the column number fix from patch v8.2.0871 because patch v8.2.0871 cannot be fully ported without the method patches. Co-authored-by: Peter Wolf <pwolf2310@gmail.com>
* | LSP: fix messageRequest to not return nested title (#13674)Michael Lingelbach2021-01-03
| | | | | | | | | | * LSP: fix window/showMessageRequest to not return nested title * Add window/showMessageRequest handler to docs
* | vim-patch:8.2.0917: quickfix entries do not suport a "note" typeJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | Problem: Quickfix entries do not suport a "note" type. Solution: Add support for "note". (partly by Yegappan Lakshmanan, closes vim/vim#5527, closes vim/vim#6216) https://github.com/vim/vim/commit/e928366de5deca359fad779a4f740db703296302
* | Merge pull request #13649 from mjlbach/move_from_nvim-lspconfigMatthieu Coudron2021-01-01
|\ \ | | | | | | LSP: Move workspace/configuration from nvim-lspconfig to core
| * | LSP: Move workspace/configuration handler from nvim-lspconfig to coreMichael Lingelbach2021-01-01
| | |
| * | LSP: Add helper function from accessing language server settings from ↵Michael Lingelbach2021-01-01
| | | | | | | | | | | | nvim-lspconfig
* | | LSP: progress callback should only update existing dict for reports (#13652)jdrouhard2021-01-01
| | | | | | | | | Change the update of the client.messages.progress table to overwrite only the percentage and message properties on $report, Previously we were overwriting the table which meant client.messages.progress[token].message.title was wiped on report.
* | | Merge pull request #13655 from janlazo/vim-8.2.2255Jan Edmund Lazo2021-01-01
|\ \ \ | | | | | | | | vim-patch:8.1.{1241,1261,1275,1281,1549,1590,1881,2079,2322,2360,2411},8.2.{113,388,934,2255,2258,2260,2269}
| * | | vim-patch:8.2.2258: not all OCaml related files are detectedJan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Not all OCaml related files are detected. Solution: Update OCaml file type detection. (Markus Mottl, closes vim/vim#7590) https://github.com/vim/vim/commit/beef4eeda5c6865fcfe46db43ae71429a2025b58
| * | | vim-patch:8.1.1281: cannot specify a count with :chistoryJan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot specify a count with :chistory. Solution: Add a count to :chistory and :lhistory. (Yegappan Lakshmanan, closes vim/vim#4344) https://github.com/vim/vim/commit/8ffc7c8b5f004971cb6f2bdcfbe4f7123cce717c
| * | | vim-patch:8.1.1275: cannot navigate to errors before/after the cursorJan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot navigate to errors before/after the cursor. Solution: Add the :cbefore and :cafter commands. (Yegappan Lakshmanan, closes vim/vim#4340) https://github.com/vim/vim/commit/cf6a55c4b0cbf38b0c3fbed5ffd9a3fd0d2ede0e
| * | | vim-patch:8.1.1261: no error for quickfix commands with negative rangeerw72021-01-01
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No error for quickfix commands with negative range. Solution: Add ADDR_UNSIGNED and use it for quickfix commands. Make assert_fails() show the command if the error doesn't match. https://github.com/vim/vim/commit/25190db225d63e185e77e043e694ef455b3cf304 N/A patches for version.c: vim-patch:8.2.0113: "make cmdidxs" fails Problem: "make cmdidxs" fails. Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay. https://github.com/vim/vim/commit/9b24dfcb9f676e7f7a09a9062f0d05b2104a87eb
* | | docs: nvim_buf_set_textTJ DeVries2021-01-01
| | |
* | | Merge pull request #13592 from bfredl/setmouseBjörn Linse2021-01-01
|\ \ \ | |/ / |/| | ui: make 'mouse' handling in external UI more consistent
| * | ui: make 'mouse' handling in external UI more consistentBjörn Linse2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | before the behaviour of 'mouse' was inconsistent in external UI, as some remapping logic would check has_mouse() and others don't (no difference in TUI or vim classic). With this change, the behaviour is consistently up to the UI decide (see ui.txt edit) Behaviour of tui.c is unaffected by this change.
* | | LSP: window/showMessageRequest (#13641)Michael Lingelbach2020-12-31
| | | | | | | | | Another 3.16 compatibility. Solves Vue crashing currently. Currently not handling the return result, but would allow opening web browser in this case.
* | | lsp: Disable capabilities not currently supported by language client ↵Michael Lingelbach2020-12-30
| | | | | | | | | | | | | | | handlers (#13638) Several language servers are incorrectly invoking handlers which are not yet implemented in core.
* | | doc: Fix some spelling errors (#13636)Timmy Xiao2020-12-30
| | | | | | | | | | | | - Change 'conenvience' to 'convenient' - Change 'lsp-handers' to 'lsp-handlers'
* | | LSP: implement window/workDoneProgress/create (#13640)Michael Lingelbach2020-12-30
| | |
* | | lsp: Use correct bufnr for documentHighlight handler (#13622)Adam P. Regasz-Rethy2020-12-29
| | |
* | | Fixed a typo.HARSH-SHETH2020-12-27
| | | | | | | | | | | | Changed 'reqesting' to 'requesting' in /runtime/doc/api.txt file
* | | vim-patch:8.1.2212: cannot see the selection type in :reg outputJan Edmund Lazo2020-12-25
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot see the selection type in :reg output. (Ayberk Aydın) Solution: Add c/l/b. (Christian Brabandt, closes vim/vim#5110, closes vim/vim#4546) https://github.com/vim/vim/commit/3691f1ee72b68a47e6dcc75927bfa46565cf3614 Patch v8.1.0999 is not ported so ":registers" does not omit register 1.
* | | vim-patch:8.2.2203: Moodle gift files are not recognizedJan Edmund Lazo2020-12-24
| | | | | | | | | | | | | | | | | | Problem: Moodle gift files are not recognized. Solution: Add a filetype pattern. (Delim Temizer) https://github.com/vim/vim/commit/b34f33747223d9cba4b32a27aee70c1705b36ed9
* | | lsp: Fire LspDiagnosticsChanged before returning (#13483)Josh French2020-12-23
|/ / | | | | Run hook even when transitioning from some diagnostics to no diagnostics
* | lsp: Add <nomodeline> to doautocmd calls (#13576)Nils2020-12-21
| | | | | | When using "au User LspDiagnosticsChanged redrawstatus!", modelines get processed again (see h: doautocmd). Fortunately this can be suppressed using the <nomodeline> flag. this replaces every doautocmd call, that issues a User command, with doautocmd <nomodeline>.
* | lsp: add $/progress report (#13294)Matthieu Coudron2020-12-20
| | | | | | | | Heavily inspired by https://github.com/nvim-lua/lsp-status.nvim. listen to the LspProgressUpdate event to update your statusline.
* | foldcolumn: support "auto" (#13571)Jan Edmund Lazo2020-12-20
| | | | | | | | | | | | "set foldcolumn=auto" is documented but not supported. Support it by making it behave as "auto:1", similar to "signcolumn". Close https://github.com/neovim/neovim/pull/13561
* | lsp: Fix text payload in didSave notification (#13363)Mathias Fußenegger2020-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the specification[1] the payload must look like this: interface DidSaveTextDocumentParams { /** * The document that was saved. */ textDocument: TextDocumentIdentifier; /** * Optional the content when saved. Depends on the includeText value * when the save notification was requested. */ text?: string; } `text` must be on the same level as `textDocument´. Where `TextDocumentIdentifier` is: interface TextDocumentIdentifier { /** * The text document's URI. */ uri: DocumentUri; } [1]: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didSave
* | doc: Fix vim.lsp.diagnostic.get_next (#13495)Mitchell Hanberg2020-12-20
| |
* | runtime/php: 1c6737b20a5cf71751b180461cea22fc76d8870cTyson Andre2020-12-19
| | | | | | | | | | | | Port php syntax file only. Ref https://github.com/neovim/neovim/issues/12844
* | runtime/php: 47e13953ffdbb9f163b901196dec8c2100b72eddTyson Andre2020-12-19
| | | | | | | | Port php syntax file only.
* | runtime/php: 5ef1c6a4838a9629b793f3ae676f72a764171b00Tyson Andre2020-12-19
| | | | | | | | Port php syntax file only.
* | Add <Enter> to existing vim syntax highlighting for angle-bracket notation ↵Kevin Svetlitski2020-12-19
| | | | | | | | (#13553)
* | Merge pull request #13355 from notomo/check-textlock-in-apiBjörn Linse2020-12-16
|\ \ | | | | | | api: add textlock check
| * | docs: add check_textlock attributenotomo2020-12-16
| | |
* | | Merge pull request #13367 from nvim-treesitter/offset-lang-injectionBjörn Linse2020-12-16
|\ \ \ | | | | | | | | feat(treesitter): add offset predicate for language injection
| * | | feat(treesitter): add offset predicate for language injectionSteven Sojka2020-12-15
| |/ / | | | | | | | | | refactor(treesitter): add directives to queries
* / / feat(buffer_updates): allow ignoring when previewingThomas Vigouroux2020-12-15
|/ / | | | | | | | | Also adds a test that we actually subscribe to buffer events when in CMDPREVIEW.