aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | | | vim-patch:664f3cf3f21dJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Runtime file updates. https://github.com/vim/vim/commit/664f3cf3f21d3699bfd179c318ef5c869c085648
| * | | | | vim-patch:4ceaa3a6e0b8Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update a few runtime files https://github.com/vim/vim/commit/4ceaa3a6e0b8cb2994c303041aedcbb60527cd61 Omit de.po.
| * | | | | vim-patch:0c0734d527a1Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/0c0734d527a132edfb4089be48486586424b3f41 Omit rand(), srand() documentation. Patch v8.1.2342 is not ported yet.
| * | | | | vim-patch:403f3eb4c189Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/403f3eb4c1890826a5b3b5922c0e8e45be79a476 Port sr.po changes, done by vim-patch.sh. No way I'm manually porting the rest.
| * | | | | vim-patch:574ee7bc1246Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/574ee7bc1246070dba598f9561a2776aa1a10d07 Omit ru.po because I don't know the language and there's too much to port.
| * | | | | vim-patch:5ef1c6a4838aJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/5ef1c6a4838a9629b793f3ae676f72a764171b00 "scrollfocus" is for Windows GUI only so it is N/A.
| * | | | | vim-patch:1ff14ba24c4dJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/1ff14ba24c4d85c008d7abe5e140dbb497ffea8d
| * | | | | vim-patch:96f45c0b6fc9Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/96f45c0b6fc9e9d404e6805593ed1e0e6795e470 Omit de.po changes. Same reason as before: too much and I don't understand the language.
| * | | | | vim-patch:8fe1000e9c34Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/8fe1000e9c3438d0ff36cf2340f0f0e48f8fb89f Omit de.po changes. There's too many lines to port and I don't understand the language.
* | | | | | get_str_line: Replace grow_array usageFabian Viöl2021-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A single xmemdupz is sufficient, as it is already zero-terminating the string
* | | | | | Merge pull request #14455 from Sh3Rm4n/fix_get_str_lineJames McCoy2021-05-02
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | [RDY] Fix get str line
| * | | | | get_str_line: Simplify growarray usageFabian Viöl2021-04-30
| | | | | |
| * | | | | Fix documentation typos for msg_scroll_flushFabian Viöl2021-04-29
| | | | | |
| * | | | | get_str_line: Use heap instead of stackFabian Viöl2021-04-29
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The stack allocated buffer does introduce an arbitrary limit, to the length of the line. Previously, if the line was too long, it might be catched by a stack smash canary or resulted into a crash. This is not guaranteed though, and thus could result into undefined behavior. To mitigate this, an dynamic allocated buffer is replacing the stack allocated buffer, with the initial capacity of the copied line.
* | | | | signs: fix overflow during adjustment on Windows (#14472)statiolake2021-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, `new_lnum + MAXLNUM` causes overflow and as a result the line number of that sign becomes invalid negative number. This occurs when the `set signcolumn=yes`, in other words `signcolumn` is not `auto` and the sign column is less than 2 columns. The related change was made in the commit f2ed7605da45eb79a4f7bb89fb19f680fb5a4927. Originally the above addition is only executed if `amount != MAXLNUM`, so reintroducing this check fixes the bug and will hardly produces a new bug. Fixes https://github.com/neovim/neovim/issues/14460
* | | | | fix: make nvim_win_get_number() return win number (#14470)Julian Berman2021-05-01
| | | | | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/14467
* | | | | docs: Treesitter (#13260)TJ DeVries2021-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc & fixes: Generate treesitter docs * fixup to treesitter-core * docs(treesitter): fix docs for most functions Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
* | | | | Merge pull request #14380 from bfredl/virtcolBjörn Linse2021-05-01
|\ \ \ \ \ | | | | | | | | | | | | decorations: right_align and win_col
| * | | | | decorations: right_align and win_colBjörn Linse2021-05-01
| |/ / / /
* / / / / startup: do "syntax enable" instead of "syntax on"Björn Linse2021-04-30
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | "syntax on" overwrites existing highlight groups, while "syntax enable" just sets missing groups. This change prevents user defined highlights in init.vim/lua to get overwritten. The manual recommends "syntax enable" for new configurations anyway, "on" command was probably used as it is the implicit default.
* | / / ui_compositior: handle multiple displayed floats in the same tickBjörn Linse2021-04-26
| |/ / |/| | | | | | | | | | | problem: the order of non-focuesed float opened before focused float is wrong (sunjon) solution: check curwin and correct the order (bfredl)
* | | doc : fixing missing @return in nvim_open_term docMichael Bleuez2021-04-24
| | |
* | | vim-patch:8.2.2776: :mksession uses current value of 'splitbelow' and ↵Jan Edmund Lazo2021-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'splitright' (#14398) Problem: :mksession uses current value of 'splitbelow' and 'splitright' even though "options" is not in 'sessionoptions'. (Maxim Kim) Solution: Save and restore the values, instead of setting to the current value. (closes vim/vim#8119) https://github.com/vim/vim/commit/0995c81f2ffe276669daa004f7778ecc6f5ee09d Patch v8.2.1682 is not ported. Replace "goto fail;" with "return FAIL;".
* | | lua: make vim.cmd an alias of vim.api.nvim_exec() (#14401)Shadman2021-04-22
| | | | | | | | | | | | | | | Previously vim.cmd was an alias of nvim_command(). From now on it is an alias of nvim_exec().
* | | Merge pull request #14411 from seandewar/vim-8.2.1588Jan Edmund Lazo2021-04-21
|\ \ \ | | | | | | | | vim-patch:8.2.1588 - port `prompt_getprompt()`
| * | | fix(oldtest): fix assert_match() for :buffers tSean Dewar2021-04-21
| | | | | | | | | | | | | | | | | | | | Previous pattern could cause test to fail if ":buffers t" reported "1 second ago".
| * | | vim-patch:8.2.1588: cannot read back the prompt of a prompt bufferSean Dewar2021-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot read back the prompt of a prompt buffer. Solution: Add prompt_getprompt(). (Ben Jackson, closes vim/vim#6851) https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803 Updated prompt_getprompt() doc to https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e and removed mention of method syntax usage (not supported by Nvim).
| * | | oldtest: port test_prompt_buffer.vimSean Dewar2021-04-21
| | | | | | | | | | | | | | | | | | | | Included from before v8.2.1588. Required for v8.2.1588. Many tests use stuff like term_sendkeys() which is N/A, so are skipped.
| * | | eval: port tv_get_buf_from_arg()Sean Dewar2021-04-21
| |/ / | | | | | | | | | | | | | | | | | | | | | Cherry-picked from v8.2.1562, but uses Nvim's tv_check_str_or_nr(). Required for v8.2.1588. It isn't used for f_bufnr() to avoid a double error message if the first argument isn't a number or string similiar to what's seen in Vim.
* | | api: fix nvim_exec() silencing behaviour (#14413)Shadman2021-04-21
| | | | | | | | | | | | | | | Previously nvim_exec would silent output no matter whether output is true or false. Now output is only silent and captured when output is true.
* | | win/package: remove cat,tidy (#14402)Jan Edmund Lazo2021-04-20
|/ / | | | | | | | | | | | | | | | | | | | | Neovim should not bundle external tools that are not needed in the runtime environment. cat.exe is meant for tests only. Install a mingw/msys2/busybox environment which bundle cat.exe. tidy.exe was never used in tests and is not required in Neovim runtime. busybox and tidy.exe can be installed via scoop. Ref: https://github.com/neovim/neovim/issues/14078
* | Merge pull request #12323 from da-x/orphaned-signsMatthieu Coudron2021-04-18
|\ \ | | | | | | Handle 'orphaned signs' on line deletion for signcolumn >= 2
| * | test_signs.vim: adjust for sign removal on line deletionDan Aloni2021-04-17
| | |
| * | Handle 'orphaned signs' on line deletion for signcolumn >= 2Dan Aloni2021-04-17
| | |
* | | vim-patch:8.2.2773: PSL filetype not recognized (#14389)Jan Edmund Lazo2021-04-17
| | | | | | | | | | | | | | | Problem: PSL filetype not recognized. Solution: Add a filetype pattern. (Daniel Kho, closes vim/vim#8117) https://github.com/vim/vim/commit/112a006417a0d4700ff39ddba3bb5e985ae9770f
* | | Merge pull request #14385 from chentau/extmark_deleteBjörn Linse2021-04-17
|\ \ \ | | | | | | | | Extmarks: remove `curbuf->deleted_bytes2` from `op_delete`
| * | | extmarks: remove curbuf->deleted_bytes2 from op_deletechentau2021-04-16
| | | |
* | | | Merge pull request #14365 from chentau/extmark_delbytes_moveBjörn Linse2021-04-17
|\ \ \ \ | |_|/ / |/| | | Extmarks: flush curbuf->deleted_bytes2 after calling do_move
| * | | flush curbuf->deleted_bytes2 after calling do_movechentau2021-04-14
| |/ /
* | | Merge pull request #14355 from janlazo/vim-8.1.2313Jan Edmund Lazo2021-04-15
|\ \ \ | | | | | | | | vim-patch:8.1.2313,8.2.{2046,2769}
| * | | vim-patch:8.2.2769: Modula-3 config files are not recognizedJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Modula-3 config files are not recognized. Solution: Add filetype patterns. (Doug Kearns) https://github.com/vim/vim/commit/6bc00699c5049c40761d212bef1b490e2af7944c
| * | | vim-patch:8.1.2313: debugging where a delay comes from is not easyJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay(). https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7
| * | | vim-patch:8.2.2046: some test failures don't give a clear errorJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some test failures don't give a clear error. Solution: Use assert_match() and assert_fails() instead of assert_true(). (Ken Takata, closes vim/vim#7368) https://github.com/vim/vim/commit/5dc4e2f883896c99ebe83355822ac6067970b031
* | | | vim-patch:8.2.2764: memory leak when default function argument is allocatedJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory leak when default function argument is allocated. Solution: Free the expression result. https://github.com/vim/vim/commit/b47bed2f7ada4dfae78f76f27473b83507e40315
* | | | vim-patch:8.2.2761: using "syn include" does not work properlyJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using "syn include" does not work properly. Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung, closes vim/vim#8104) https://github.com/vim/vim/commit/2e240bd428c0033d16f201d7f837636412358199 Cherry-pick AssertHighlightGroups from patch v8.2.2068.
* | | | vim-patch:8.2.0265: "eval" after "if 0" doesn't check for following commandJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "eval" after "if 0" doesn't check for following command. Solution: Add "eval" to list of commands that check for a following command. (closes vim/vim#5640) https://github.com/vim/vim/commit/a76b31542e1d83b7d2fe7378439912e800a4d0f6
* | | | ex_cmds: port :evalJan Edmund Lazo2021-04-15
|/ / / | | | | | | | | | | | | Cherry-picked from patch v8.1.1807. Required for patch v8.2.2761.
* | | Merge pull request #14358 from bfredl/decodecoBjörn Linse2021-04-15
|\ \ \ | |/ / |/| | decoration: Clean up duplicate Decoration attributes + bonus hl_eol flag
| * | decoration: Clean up duplicate Decoration attributes + bonus hl_eol flagBjörn Linse2021-04-14
| | |
* | | Merge pull request #14318 from chentau/extmark_luadoBjörn Linse2021-04-13
|\ \ \ | | | | | | | | extmark: splice extmarks on :luado