aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* | | 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.
* | healthcheck: fix health check issue with shada file (#13291)erw72020-12-13
| | | | | | | | | | - If the shada file is set with shada option n, use it. - If the shadafile is NONE, it does not check for file read/write access. - If the shada file does not exist, try to create it.
* | Fix lsp tests breaking from new LuaJIT versionMatthew Nibecker2020-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently the new version of LuaJIT changed the consistency with which it sorted table dictionaries. IIRC lua sorts dictionary keys by memory address, so it would appear that the reasons tests were previously passing was because of a differentiation in the implementation of the lua runtime. Ensure that array fields in the lsp protocol tables are consistently created, by using ipair when generating arrays for completionItemKind and symbolItemKind. For CodeActionKind, the current implementation includes both the keys and the values in the array. This is incorrect. Ensure that only the values are included in the array and sort them for consistency.
* | vim-patch:8.1.1089: tutor does not check $LC_MESSAGESJan Edmund Lazo2020-12-12
| | | | | | | | | | | | Problem: Tutor does not check $LC_MESSAGES. Solution: Let $LC_MESSAGES overrule $LANG. (Miklos Vajna, closes vim/vim#4112) https://github.com/vim/vim/commit/b44b7add8ae8e15328b4f68c3caf511bd9aaac8c
* | runtime/javascript: 207f009326c8f878defde0e594d7d9ed9860106eJan Edmund Lazo2020-12-12
| | | | | | | | Port javascript and javascript react ftplugins only.
* | runtime/javascript: e7b1ea0276cc83cd5c612f3189a174a60d57b5edJan Edmund Lazo2020-12-12
| | | | | | | | Port javascript autocomplete file only.
* | runtime/javascript: 388a5d4f20b4b64341d1604aa238cab85827b892Jan Edmund Lazo2020-12-12
| | | | | | | | | | | | Port javascript syntax file only. Ref https://github.com/neovim/neovim/issues/13185
* | runtime/javascript: 09c6f265b21065ffa9437837b1d0955137175e45Jan Edmund Lazo2020-12-12
| | | | | | | | | | | | Port javascriptreact.vim syntax only. Ref https://github.com/neovim/neovim/issues/13185
* | runtime/javascript: 5be4ceecea5520265066eac972460ebb1cdf05e7Jan Edmund Lazo2020-12-12
| | | | | | | | | | | | Port javascript syntax files only. Ref: https://github.com/neovim/neovim/issues/13185
* | vim-patch:8.2.0047: cannot skip tests for specific MS-Windows platform (#13461)Jan Edmund Lazo2020-12-11
| | | | | | | | | | Problem: Cannot skip tests for specific MS-Windows platform. Solution: Add windowsversion(). https://github.com/vim/vim/commit/0c1e3744ff0cd6c17af773046b876b428ff3dded