aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
Commit message (Collapse)AuthorAge
...
* | | vim-patch:partial:a2baa73d1d33 (#17675)zeertzjq2022-03-12
| | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/a2baa73d1d33014adea0fd9567949089ca21a782 Cherry-pick tabpage.txt changes from patch 8.2.1413. Skip digraph functions: included in #17440. Skip many error codes as they haven't been ported yet.
* | | docs: remove "not in vi" notes (#17678)dundargoc2022-03-11
| | | | | | | | | [skip ci]
* | | fix(remote): report on missing wait commands, typecheck lua resultsCharlie Groves2022-03-11
| | | | | | | | | | | | Clean up lint errors, too
* | | docs(remote): update remote.txt for current nvim implementationCharlie Groves2022-03-11
| | |
* | | docs(remote): restore remote.txt from removal in f2205b83c553367a76b6cadCharlie Groves2022-03-11
| | |
* | | chore: fix typos (#17331)dundargoc2022-03-10
| | | | | | | | | | | | | | | | | | Co-authored-by: Hongyi Lyu <hongyi.lyu95@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: notomo <notomo.motono@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | | vim-patch:partial 1588bc8ebee2 (#17657)Sean Dewar2022-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/1588bc8ebee22f2855f27273fc2234fff370f86c docs only skip :argdedupe changes (need v8.2.3888) skip sound_playfile changes (need +sound) skip fuzzy-matching changes in *command-attributes* (need #17536)
* | | vim-patch:8.2.0997: cannot execute a register containing line continuationzeertzjq2022-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot execute a register containing line continuation. Solution: Concatenate lines where needed. (Yegappan Lakshmanan, closes vim/vim#6272) https://github.com/vim/vim/commit/856c1110c1cf0d6e44e387b70732ca4b4c8ef0f2 According to #2542 the "Future:" part was removed intentionally. Use size_t in more places to reduce type casts.
* | | feat(api): autocmd `group` can be either name or id (#17559)Dhruv Manilawala2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(api): `group` can be either string or int This affects the following API functions: - `vim.api.nvim_create_autocmd` - `vim.api.nvim_get_autocmds` - `vim.api.nvim_do_autocmd` closes #17552 * refactor: add two maps for fast lookups * fix: delete augroup info from id->name map When in "stupid_legacy_mode", the value in name->id map would be updated to `AUGROUP_DELETED`, but the entry would still remain in id->name. This would create a problem in `augroup_name` function which would return the name of the augroup instead of `--DELETED--`. The id->name map is only used for fast loopup in `augroup_name` function so there's no point in keeping the entry of deleted augroup in it. Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
* | | feat(api): add 'buffer' argument to nvim_get_autocmds (#17594)Gregory Anders2022-03-06
| | | | | | | | | | | | | | | This enables retrieving autocommands defined in the given buffers. Under the hood this simply translates the buffer numbers into '<buffer=%d>' patterns.
* | | docs(lua): reference runtime/lua/vim/_editor.luazeertzjq2022-03-06
| | |
* | | Merge pull request #17589 from kchibisov/add-dashed-dotted-underlineJames McCoy2022-03-05
|\ \ \ | | | | | | | | Add support for double, dashed, and dotted underlines
| * | | fix(docs): spelling in new underlines docsKirill Chibisov2022-03-04
| | | |
| * | | feat(tui): add support for `CSI 4 : [2,4,5] m`Kirill Chibisov2022-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit finishes support for colored and styled underlines adding `CSI 4 : [2,4,5] m` support providing double, dashed, and dotted underlines Fixes #17362.
* | | | vim-patch:8.2.4498: using <Plug> with "noremap" does not workzeertzjq2022-03-03
|/ / / | | | | | | | | | | | | | | | Problem: Using <Plug> with "noremap" does not work. Solution: Always remap <Plug>. (closes vim/vim#9879, closes vim/vim#9789) https://github.com/vim/vim/commit/1fc34225acbee5ddca2b9ec3f82b3014d385b7f8
* | | feat(diagnostic): add "code" to the diagnostic structure (#17510)David Shen2022-03-02
| | |
* | | Merge pull request #16804 from zeertzjq/ui-aucmd-docszeertzjq2022-03-02
|\ \ \ | | | | | | | | docs: clarify UIEnter and UILeave docs
| * | | docs: clarify UIEnter and UILeave docszeertzjq2021-12-27
| | | |
* | | | Merge pull request #15079 from shadmansaleh/feat/verbose_luabfredl2022-03-01
|\ \ \ \ | | | | | | | | | | feat(lua): add :verbose support for lua config
| * | | | feat(lua): show proper verbose output for lua configurationshadmansaleh2022-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `:verbose` didn't work properly with lua configs (For example: options or keymaps are set from lua, just say that they were set from lua, doesn't say where they were set at. This fixes that issue. Now `:verbose` will provide filename and line no when option/keymap is set from lua. Changes: - compiles lua/vim/keymap.lua as vim/keymap.lua - When souring a lua file current_sctx.sc_sid is set to SID_LUA - Moved finding scripts SID out of `do_source()` to `get_current_script_id()`. So it can be reused for lua files. - Added new function `nlua_get_sctx` that extracts current lua scripts name and line no with debug library. And creates a sctx for it. NOTE: This function ignores C functions and blacklist which currently contains only vim/_meta.lua so vim.o/opt wrappers aren't targeted. - Added function `nlua_set_sctx` that changes provided sctx to current lua scripts sctx if a lua file is being executed. - Added tests in tests/functional/lua/verbose_spec.lua - add primary support for additional types (:autocmd, :function, :syntax) to lua verbose Note: These can't yet be directly set from lua but once that's possible :verbose should work for them hopefully :D - add :verbose support for nvim_exec & nvim_command within lua Currently auto commands/commands/functions ... can only be defined by nvim_exec/nvim_command this adds support for them. Means if those Are defined within lua with vim.cmd/nvim_exec :verbose will show their location . Though note it'll show the line no on which nvim_exec call was made.
* | | | | docs: clarify actual behavior of <Plug>zeertzjq2022-03-01
| | | | |
* | | | | feat(lua): add missing changes to autocmds lost in the rebaseTJ DeVries2022-02-28
|/ / / / | | | | | | | | | | | | Note: some of these changes are breaking, like change of API signatures
* | | | feat(lua): add <f-args> to user commands callback (#17522)Javier Lopez2022-02-27
| | | | | | | | | | | | | | | | | | | | Works similar to ex <f-args>. It only splits the arguments if the command has more than one posible argument. In cases were the command can only have 1 argument opts.fargs = { opts.args }
* | | | Merge pull request #16969 from shadmansaleh/enhance/ingore_nore_on_plug_keymapsbfredl2022-02-27
|\ \ \ \ | | | | | | | | | | feat: ignore nore on <Plug> maps
| * | | | chore: remove <Plug> detection from vim.keymapshadmansaleh2022-02-27
| | | | |
| * | | | feat: ignore nore on <Plug> mapsshadmansaleh2022-02-27
| | | | |
* | | | | vim-patch:c51cf0329809 (#17530)Christian Clason2022-02-27
| | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/c51cf0329809c7ae946c59d6f56699227efc9d1b
* | | | | refactor(lua): cleanup and docs for threadsbfredl2022-02-26
|/ / / /
* | | | docs: update explanation of Y to reflect new defaultsDundar Göc2022-02-24
| | | | | | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/17435
* | | | vim-patch:partial 944697ae196 (#17493)Sean Dewar2022-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/944697ae19683441981539cd4d2469df89d6ec82 Doc changes: Include remote_*() (even though +clientserver and remote.txt isn't ported yet) Omit screenpos() (need v8.2.4389) Other changes are N/A or cannot be directly applied
* | | | feat(api): implement nvim_buf_get_text (#15181)Gregory Anders2022-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nvim_buf_get_text is the mirror of nvim_buf_set_text. It differs from nvim_buf_get_lines in that it allows retrieving only portions of lines. While this can typically be done easily enough by API clients, implementing this function provides symmetry between the get/set text/lines APIs, and also provides a nice convenience that saves API clients the work of having to slice the result of nvim_buf_get_lines themselves.
* | | | refactor(highlight)!: optional arguments for highlight.range as table (#17462)Christian Clason2022-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also update documentation BREAKING CHANGE: signature of highlight.range is now vim.highlight.range(bufnr, ns, hlgroup, start, finish, { regtype = regtype, inclusive = inclusive, priority = priority }) Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com>
* | | | docs: clarify ftdetect scripts loading during packadd (#17465)Aetf2022-02-20
| | | | | | | | | | | | The old description doesn't match the current behavior anymore.
* | | | vim-patch:8.2.3573: cannot decide whether to skip test that fails with 64 bitSean Dewar2022-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot decide whether to skip test that fails with 64 bit ints. (closes vim/vim#9072) Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the check for multiply overflow. https://github.com/vim/vim/commit/69b3072d984480935ec412b32b97fea974d2b689 Omit v:sizeof{int,long,pointer} as they're only really used for tests.
* | | | Merge pull request #17363 from zeertzjq/dirchangedprezeertzjq2022-02-17
|\ \ \ \ | | | | | | | | | | feat(events): add DirChangedPre
| * | | | feat(events): add DirChangedPrezeertzjq2022-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Nvim, like DirChanged, this also triggers when switching windows. This marks Vim patch 8.2.4335 as ported. vim-patch:8.2.4335: no autocommand event triggered before changing directory Problem: No autocommand event triggered before changing directory. (Ronnie Magatti) Solution: Add DirChangedPre. (closes vim/vim#9721) https://github.com/vim/vim/commit/28e8f73ae2d90009fd62cd60f97c2643ba44de68
* | | | | docs: minor changes related to mapping descriptionzeertzjq2022-02-16
| | | | |
* | | | | feat(mappings): considering map description when filtering (#17423)Shadman2022-02-16
| | | | |
* | | | | Merge pull request #17394 from zeertzjq/vim-8.2.4343zeertzjq2022-02-15
|\ \ \ \ \ | |_|_|/ / |/| | | | vim-patch:8.2.4343: when reloading not all properties are detected
| * | | | vim-patch:8.2.4343: when reloading not all properties are detectedzeertzjq2022-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When reloading not all properties are detected. Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes vim/vim#9579) https://github.com/vim/vim/commit/8196e94a8b72ed8618605cb66615571313097d78 Cherry-pick some test changes from patch 8.1.1826.
* | | | | docs: regenerate [skip ci]marvim2022-02-13
|/ / / /
* | | | docs: treesitter.txt - fix overflowing lines, document ↵Chinmay Dalal2022-02-13
| | | | | | | | | | | | | | | | minimum_language_version (#17286)
* | | | vim-patch:8.2.0915: search() cannot skip over matches like searchpair() canSean Dewar2022-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Search() cannot skip over matches like searchpair() can. Solution: Add an optional "skip" argument. (Christian Brabandt, closes vim/vim#861) https://github.com/vim/vim/commit/adc17a5f9d207fd1623fd923457a46efc9214777 Enable skip arg usage in autoload/freebasic.vim evalarg_T doesn't really matter because it's deleted in v8.2.0918 (and reincarnated for Vim9 script in v8.2.1047), but I found out too late :P Anyway: - Port evalarg_T into eval.h and use const char * and Callback fields - Use EVALARG_INIT to initialize - Return bool over OK/FAIL from evalarg functions - Remove check from evalarg_clean as callback_free ignores None callbacks anyway - Move eva_buf field into evalarg_get as a local (not sure what reason it has being in the struct) N/A patches for version.c: vim-patch:8.2.4355: unnecessary call to check_colorcolumn() Problem: Unnecessary call to check_colorcolumn(). Solution: Remove the call. (Sean Dewar, closes vim/vim#9748) https://github.com/vim/vim/commit/0f7ff851cb721bb3c07261adbf82b591229f530d
* | | | Merge pull request #17325 from glacambre/stdioopen_docJames McCoy2022-02-11
|\ \ \ \ | |/ / / |/| | |
| * | | docs(stdioopen): add missing documentation for on_print paramglacambre2022-02-11
| | | | | | | | | | | | | | | | This commit adds documentation for the feature introduced in #15910.
* | | | vim-patch:8.1.2221: cannot filter :disp outputzeertzjq2022-02-10
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot filter :disp output. Solution: Support filtereing :disp output. (Andi Massimino, closes vim/vim#5117) https://github.com/vim/vim/commit/8fc42964363087025a27e8c80276c706536fc4e3
* | | | Merge pull request #17345 from zeertzjq/vim-8.2.4329zeertzjq2022-02-09
|\ \ \ \ | | | | | | | | | | vim-patch:8.2.4329: no support for end line number and column in 'errorformat'
| * | | | vim-patch:8.2.4329: no support for end line number and column in 'errorformat'zeertzjq2022-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No support for end line number and column in 'errorformat'. Solution: Add %e and %k. (closes vim/vim#9624) https://github.com/vim/vim/commit/e023d499378942a6c3a3855cbe461ec2cb570f63 Use "\t" to represent a Tab as it looks better.
* | | | | vim-patch:partial:f10911e5db16zeertzjq2022-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/f10911e5db16f1fe6ab519c5d091ad0c1df0d063
* | | | | vim-patch:8.2.4242: put in Visual mode cannot be repeatedzeertzjq2022-02-09
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Put in Visual mode cannot be repeated. Solution: Use "P" to put without yanking the deleted text into the unnamed register. (Shougo Matsushita, closes vim/vim#9591) https://github.com/vim/vim/commit/fb55207ed17918c8a2a6cadf5ad9d5fcf686a7ab Cherry-pick get_y_previous() and set_y_previous() from patch 8.1.1736. Nvim has removed y_current, so code related to it is N/A.