aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* | | | lsp: remove duplicate settings validation (#13789)Michael Lingelbach2021-01-18
| | | |
* | | | lsp: validate and document server settings (#13698)Michael Lingelbach2021-01-18
| | | | | | | | | | | | | | | | * update lua documentation * run docgen
* | | | LSP: Fix nil settings handling in workspace/configuration (#13708)Mathias Fußenegger2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `workspace/configuration` handler could fail with the following error if `config.settings` is nil: runtime/lua/vim/lsp/util.lua:1432: attempt to index local 'settings' (a nil value)" This ensures that `config.settings` is always initialized to an empty table.
* | | | Update nvim.appdata.xml to reflect version 0.4.4 (#13754)Maltimore2021-01-18
| |/ / |/| | | | | Set release date based on commit ee77d8665ffe327a2158354021bbbcb772b3521a
* | | LSP: Add in clientInfo to initalize_params. (#13757)Chris Kipp2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add in clienInfo to initalize_params. Some servers (like Metals in my case) will actually pull this info from the initalize_params and display it in the logs. I know from the server perspective it helps at times to have this available to pull from to have more details about the client and version. You can see that this is part of the spec here: microsoft.github.io/language-server-protocol/specification#initialize
* | | lsp: add client/registerCapability handler (#13780)Michael Lingelbach2021-01-18
| | | | | | | | | Until we support dynamicRegistration, we should handle the client/registerCapability in core. There are still some language servers that send this request despite dynamicRegistration not being registered client-side (we got an upstream fix for the node ones, but this depends on them bumping vscode-languageserver-node).
* | | api: add vim.version (#13762)Michael Lingelbach2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | retrun a structured version dict :lua print(vim.inspect(vim.version())) { api_compatible = 0, api_level = 7, api_prerelease = true, major = 0, minor = 5, patch = 0 }
* | | vim-patch:8.2.2366: when using ":sleep" the cursor is always displayedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes vim/vim#7688) https://github.com/vim/vim/commit/e2edc2ed4a9a229870b1e1811b0ecf045b84e429 Cursor showing/hiding is moved from core to TUI. ":sleep!" behaves the same as ":sleep".
* | | vim-patch:8.2.2353: spartql files are not detectedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | Problem: Spartql files are not detected. Solution: Add the sparql filetype. (closes vim/vim#7679) https://github.com/vim/vim/commit/17d015b2438e51d4d42d72720611d16c772cc4bb
* | | log.c: warn instead of error on failed stdpath('cache') creationMichael Lingelbach2021-01-16
| | |
* | | logs: make kXDGCacheHome if it doesn't exist (#13758)Michael Lingelbach2021-01-16
|/ /
* | Merge pull request #13750 from janlazo/vim-8.2.2329Jan Edmund Lazo2021-01-14
|\ \ | | | | | | vim-patch:8.2.{2329,2334}
| * | vim-patch:8.2.2334: Pascal-like filetypes not always detectedJan Edmund Lazo2021-01-13
| | | | | | | | | | | | | | | | | | | | | Problem: Pascal-like filetypes not always detected. Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns, closes vim/vim#7662) https://github.com/vim/vim/commit/a0122dcd1cc9e9bb62c071a9b91426a8bce4f8d9
* | | fix(treesitter): use source() method on attachThomas Vigouroux2021-01-14
| | | | | | | | | | | | | | | Fixes an issue that tree-sitter always attached to the current buffer, instead of the provided buffer.
* | | logging: move to XDG_CACHE_HOME (#13739)Michael Lingelbach2021-01-13
|/ / | | | | | | | | while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.
* | lsp: fix on_attach signature documentation (#13723)Michael Lingelbach2021-01-12
| | | | | | * trim trailing whitespace from docs
* | 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.