aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
Commit message (Collapse)AuthorAge
...
* 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
| |
* | 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.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.
* | doc: Fix some spelling errors (#13636)Timmy Xiao2020-12-30
| | | | | | | | - Change 'conenvience' to 'convenient' - Change 'lsp-handers' to 'lsp-handlers'
* | 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.
* 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
* doc: Fix vim.lsp.diagnostic.get_next (#13495)Mitchell Hanberg2020-12-20
|
* 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
| |
* | feat(treesitter): add offset predicate for language injectionSteven Sojka2020-12-15
|/ | | | refactor(treesitter): add directives to queries
* 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
* doc: Fix incorrect LSP diagnostic-related helptags (#13388)Kevin Fleming2020-12-09
|
* doc: Add missing parameter end_pos for range_formatting (#13481)Olivier Roques2020-12-09
|
* feat: Allow incremental sync & lsp flags (#13371)TJ DeVries2020-12-08
|
* Fix typo on treesitter.txt help pageLeandro Ostera2020-12-07
|
* runtime/doc: strftime() is always availableJan Edmund Lazo2020-12-06
|
* Merge pull request #13173 from tjdevries/tjdevries/option_infoBjörn Linse2020-12-04
|\ | | | | api: add option metadata
| * api/options: fixupTJ DeVries2020-12-04
| |
* | lsp: Change diagnosticg.get_all to return {bufnr: Diagnostic[]} (#13310)Mathias Fußenegger2020-12-03
|/ | | Allows users to associate the diagnostics with the right bufnr.
* Merge pull request #12235 from dm1try/add_init_luaBjörn Linse2020-12-01
|\ | | | | add init.lua as an alternative user config
| * doc: mention init.luadm1try2020-12-01
| | | | | | | | use a generic name instead of "init.vim" in starting.txt
* | Merge pull request #13425 from bfredl/secretcharmBjörn Linse2020-12-01
|\ \ | |/ |/| ex_getln: add secret charm
| * ex_getln: add secret charmBjörn Linse2020-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Opt in to this secret world using set wildchar=0 " already the default, but remove if non-zero existing config: set wildcharm=0 now you can map 'wildmode' just like any mode: cnoremap <tab> <c-z> function! Spacey() return getcmdline()[-1:] == "/" ? "\<bs>" : "" endfunc cnoremap <expr> / wildmenumode() ? Spacey()."/<c-z>" : "/" Possibly asked questions: What about backwards compatibility? ==== Just do nothing and your existing 'wildchar' and 'wildcharm' will keep working. Doesn't `<c-z>` mean suspend? ==== Not in cmdline mode. If it would then the recommended wildcharm would not have been `<c-z>` to start with. My config relies on `:<c-z>` being a synonym to `:<nop>`! ==== just no.
* | Update vim_diff.txtYegappan Lakshmanan2020-11-30
|/
* doc: fix lsp statusline examle (#13286)Damien Rajon2020-11-29
| | | Co-authored-by: Damien Rajon <damien@askmarty.io>
* vim-patch:8.2.0095: cannot specify exit code for :cquit (#13407)Jan Edmund Lazo2020-11-28
| | | | | | | Problem: Cannot specify exit code for :cquit. Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes vim/vim#5442) https://github.com/vim/vim/commit/1860bde9d31bbb0ba857f6284f6332a7134030dd Co-authored-by: erw7 <erw7.github@gmail.com>
* Merge pull request #13375 from janlazo/vim-8.2.2041Jan Edmund Lazo2020-11-25
|\ | | | | vim-patch:8.1.{2290,2390},8.2.{242,257,302,303,462,991,996,2041,2042,2043,2047,2048,2049,2054}
| * vim-patch:8.2.0996: using "aucmdwin" in win_gettype() is not idealJan Edmund Lazo2020-11-25
| | | | | | | | | | | | Problem: Using "aucmdwin" in win_gettype() is not ideal. Solution: Rename to "autocmd". https://github.com/vim/vim/commit/40a019f157c549dcdc17c33f082975485567bb06
| * vim-patch:8.2.0991: cannot get window type for autocmd and preview windowJan Edmund Lazo2020-11-25
| | | | | | | | | | | | | | | | | | Problem: Cannot get window type for autocmd and preview window. Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes vim/vim#6277) https://github.com/vim/vim/commit/0fe937fd8616fcd24b1b1ef2ab9f1657615dd22c Cherry-pick test_preview.vim,test_window_cmd.vim changes from patch v8.2.0522.
| * vim-patch:8.2.0257: cannot recognize a terminal in a popup windowJan Edmund Lazo2020-11-25
| | | | | | | | | | | | Problem: Cannot recognize a terminal in a popup window. Solution: Add the win_gettype() function. https://github.com/vim/vim/commit/00f3b4e007af07870168bf044cecc9d544483953
* | LSP: Feature/add workspace folders (#12638)Michael Lingelbach2020-11-25
| | | | | | | | | | | | | | | | | | | | | | * First implementation of workspace folders * Add completion for current directory * Add tracking of workspace folders * Add workspace folder listing * Add checks on adding/removing workspaces * Add appropriate initialization options * Add documentation * Make workspaceFolders available wherever client is
* | fix(treesitter): docs reflect parser:parse()bkegley2020-11-24
|/ | | Update docs to document that `parser:parse()` now returns a table of trees
* vim-patch:8.1.2115: MS-Windows: shell commands fail if &shell contains a spaceJan Edmund Lazo2020-11-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: shell commands fail if &shell contains a space. Solution: Use quotes instead of escaping. (closes vim/vim#4920) https://github.com/vim/vim/commit/2efc44b3f0b6bd8307cb281af095e08e15ab1c24 Always double-quote &shell if it contains a space. Neovim does not support escaping space with backslash, unlike Vim. N/A patches for version.c: vim-patch:8.0.1455: if $SHELL contains a space then 'shell' is incorrect Problem: If $SHELL contains a space then the default value of 'shell' is incorrect. (Matthew Horan) Solution: Escape spaces in $SHELL. (Christian Brabandt, closes vim/vim#459) https://github.com/vim/vim/commit/4bfa8af14142e54f509048239f4e8596911f56aa vim-patch:8.2.1194: test failure because shell prompt differs Problem: Test failure because shell prompt differs. Solution: Set the shell prompt. https://github.com/vim/vim/commit/a4dc6f92bb29b00783f8945bbe1101e837b6ad3c
* feat(treesitter): add language treeSteven Sojka2020-11-23
| | | | | | | | | | | | | Implement the LanguageTree structure to enable language injection. This is done be removing the old Parser metatable and replacing by the new structure, with the same API (almost). Some noticeable differences : - `parser:parse()` now returns a table of trees - There is no incremental parsing for child (injected) languages Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
* Update vim_diff.txtshade-of-noon2020-11-21
| | | Update for restricted mode removal.
* Grammar - remove superfluous word.shade-of-noon2020-11-21
|
* docs: Follow conventionsrockerBOO2020-11-16
|
* docs: Update nvim_lsp to lspconfigrockerBOO2020-11-16
|
* lsp: Expose all diagnostics (#13285)Mathias Fußenegger2020-11-14
| | | | | | | | | | | | | | | * lsp: Remove duplicate `diagnostics` fallback in diagnostic.display * lsp: Expose all diagnostics Before the changes in #12655 it was possible to retrieve all diagnostics via `vim.lsp.util.diagnostics_by_buf`. This adds a `diagnostic.get_all()` to enable users to retrieve all diagnostics. Use cases for that could include loading all diagnostics into the quickfix list, or to build an enhanced goto_next that can move across buffers.
* doc: fixup sign information (#13281)TJ DeVries2020-11-13
| | | Thanks to @sunzoje for finding the outdated documentation.
* lsp: vim.lsp.diagnostic (#12655)TJ DeVries2020-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Breaking Changes: - Deprecated all `vim.lsp.util.{*diagnostics*}()` functions. - Instead, all functions must be found in vim.lsp.diagnostic - For now, they issue a warning ONCE per neovim session. In a "little while" we will remove them completely. - `vim.lsp.callbacks` has moved to `vim.lsp.handlers`. - For a "little while" we will just redirect `vim.lsp.callbacks` to `vim.lsp.handlers`. However, we will remove this at some point, so it is recommended that you change all of your references to `callbacks` into `handlers`. - This also means that for functions like |vim.lsp.start_client()| and similar, keyword style arguments have moved from "callbacks" to "handlers". Once again, these are currently being forward, but will cease to be forwarded in a "little while". - Changed the highlight groups for LspDiagnostic highlight as they were inconsistently named. - For more information, see |lsp-highlight-diagnostics| - Changed the sign group names as well, to be consistent with |lsp-highlight-diagnostics| General Enhancements: - Rewrote much of the getting started help document for lsp. It also provides a much nicer configuration strategy, so as to not recommend globally overwriting builtin neovim mappings. LSP Enhancements: - Introduced the concept of |lsp-handlers| which will allow much better customization for users without having to copy & paste entire files / functions / etc. Diagnostic Enhancements: - "goto next diagnostic" |vim.lsp.diagnostic.goto_next()| - "goto prev diagnostic" |vim.lsp.diagnostic.goto_prev()| - For each of the gotos, auto open diagnostics is available as a configuration option - Configurable diagnostic handling: - See |vim.lsp.diagnostic.on_publish_diagnostics()| - Delay display until after insert mode - Configure signs - Configure virtual text - Configure underline - Set the location list with the buffers diagnostics. - See |vim.lsp.diagnostic.set_loclist()| - Better performance for getting counts and line diagnostics - They are now cached on save, to enhance lookups. - Particularly useful for checking in statusline, etc. - Actual testing :) - See ./test/functional/plugin/lsp/diagnostic_spec.lua - Added `guisp` for underline highlighting NOTE: "a little while" means enough time to feel like most plugins and plugin authors have had a chance to refactor their code to use the updated calls. Then we will remove them completely. There is no need to keep them, because we don't have any released version of neovim that exposes these APIs. I'm trying to be nice to people following HEAD :) Co-authored: [Twitch Chat 2020](https://twitch.tv/teej_dv)