aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* vim-patch:8.2.3604: not all sudoers files are recognized (#16338)Christian Clason2021-11-16
| | | | | Problem: Not all sudoers files are recognized. Solution: Add a file pattern. (Doug Kearns, closes vim/vim#1192) https://github.com/vim/vim/commit/c143fa0778fa0d8744867318bb7f7a2e63cf37d7
* vim-patch:8.2.3603: fish filetype not recognized (#16337)Christian Clason2021-11-16
| | | | | Problem: Fish filetype not recognized. Solution: Add a file pattern and match script line. (Doug Kearns) https://github.com/vim/vim/commit/b1b163efd7bb3ca68cce101d4e431559d2944a8e
* vim-patch:8.2.3599: not all gdbinit files are recognizedChristian Clason2021-11-16
| | | | | | Problem: Not all gdbinit files are recognized. Solution: Add "gdbinit". (Doug Kearns) https://github.com/vim/vim/commit/782b4bbc163e03ebe98d25bc62b9d82cba8f91a1
* vim-patch:8.2.3598: RouterOS filetype is not recognizedChristian Clason2021-11-15
| | | | | | Problem: RouterOS filetype is not recognized. Solution: Add file and script patterns. (closes vim/vim#9097) https://github.com/vim/vim/commit/0818ab82e7058145366ebbe759f0b3f74724bdfd
* Merge pull request #16047 from mcepl/vim-8.2.3520Jan Edmund Lazo2021-11-14
|\ | | | | vim-patch:8.2.3520: cannot define a function for thesaurus completion
| * vim-patch:8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scopeMatěj Cepl2021-11-06
| | | | | | | | | | | | Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope. Solution: Make 'thesaurusfunc' global-local. https://github.com/vim/vim/commit/f4d8b76d304dabc39c06d2344cd4c7b28484811b
| * vim-patch:8.2.3525: option variable name does not match option nameMatěj Cepl2021-10-24
| | | | | | | | | | | | | | Problem: Option variable name does not match option name. (Christ van Willigen) Solution: Rename the variable. https://github.com/vim/vim/commit/d4c4bfa0078a959ff90ef30288fd31d9d38f23d7
| * vim-patch:8.2.3521: options completion test failsMatěj Cepl2021-10-23
| | | | | | | | | | | | Problem: Options completion test fails. Solution: Add 'thesaurusfunc' to the results. https://github.com/vim/vim/commit/abdcfd1c837e244065d4fe04c7a78abae5af3f7e
| * vim-patch:8.2.3520: cannot define a function for thesaurus completionMatěj Cepl2021-10-23
| | | | | | | | | | | | | | Problem: Cannot define a function for thesaurus completion. Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes vim/vim#8987, closes 8950) https://github.com/vim/vim/commit/160e994d768d03a3c826b58115cde94df8fce607
* | refactor(macroman): get rid of MB_COPY_CHAR macroBjörn Linse2021-11-14
| | | | | | | | clean up docs for MB_PTR_ADV and MB_PTR_BACK
* | refactor(macros): delete multibyte macros which just are aliasesBjörn Linse2021-11-14
| |
* | refactor(multibyte): eliminate mb_char2len alias for utf_char2lenBjörn Linse2021-11-14
| |
* | refactor(multibyte): eliminate mb_ptr2len alias for utfc_ptr2lenBjörn Linse2021-11-14
| |
* | refactor(multibyte): eliminate mb_char2cells alias for utf_char2cellsBjörn Linse2021-11-14
| |
* | fix(float): skip non-focusable windows for :windo (#15378)Daniel Steinberg2021-11-11
| |
* | fix(channel): fix channels opened by nvim_open_term() never being freedzeertzjq2021-11-11
| |
* | fix(channel): throw error if sending to internal channel w/o terminalzeertzjq2021-11-11
| | | | | | | | | | Prevent SIGABRT when sending to a channel created by nvim_open_term() after the associated terminal has been deleted.
* | fix(terminal): free terminal if close_buffer() closes a closed terminal (#16264)zeertzjq2021-11-10
| | | | | | | | | | | | | | Use the (currently unused) 'destroy' field of the terminal struct as a flag to indicate that the terminal's destruction is imminent (and therefore it's close callback should not be called again). Co-authored-by: Gregory Anders <greg@gpanders.com>
* | vim-patch:partial 113cb513f76d (#16260)Christian Clason2021-11-08
| | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/113cb513f76d8866cbb6dc85fa18aded753e01da skip doc/eval.txt skip doc/insert.txt skip doc/user_06.txt (needs 8.2.3562) partial skip doc/syntax.txt (needs 8.2.3562)
* | Merge pull request #16155 from zeertzjq/fix-redr-border-corruptionBjörn Linse2021-11-06
|\ \ | | | | | | fix(float): fix potential heap corruption in win_redr_border
| * | fix(float): redraw if w_border_adj changedzeertzjq2021-10-28
| | |
| * | fix(float): fix potential heap corruption in win_redr_borderzeertzjq2021-10-28
| | |
* | | feat(lua): enable stack traces in error output (#16228)Gregory Anders2021-11-06
| | |
* | | fix(screen): make display_tick monotonic up to 2^64. fixes #16152Björn Linse2021-11-05
| | | | | | | | | | | | 18446744073709551616 screen redraws should be enough for everyone.
* | | fix(tui): extend smglr ignores to smglp and smgrp (#16239)Jan Alexander Steffens2021-11-04
| | | | | | | | | | | | | | | | | | The latter were added for xterm by ncurses 6.3 and are similarly affected. Fixes https://github.com/neovim/neovim/issues/16238
* | | fix(input): never reinterpret unmapped ALT- chrods in Terminal mode (#16222)zeertzjq2021-11-04
| | |
* | | fix: remove double slash in sysinit pathglacambre2021-11-03
| | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/13187 .
* | | fix(extmark): fix missing virt_lines when using id param of set_extmarkBjörn Linse2021-11-01
| | |
* | | Merge pull request #16131 from jamessan/vim-8.1.0306James McCoy2021-11-01
|\ \ \
| * | | vim-patch:8.2.3561: cscope has a complicated way of giving an error messageJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cscope has a complicated way of giving an error message. Solution: Use semsg(). (James McCoy, closes vim/vim#9038) https://github.com/vim/vim/commit/3c5904d2a5d7861c227a4c3cd4ddcbc51014c838
| * | | vim-patch:8.1.0783: compiler warning for signed/unsignedJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Compiler warning for signed/unsigned. Solution: Add type cast. Change type of buffer. (Ozaki Kiichi, closes vim/vim#3827) https://github.com/vim/vim/commit/63c0ccd2b68ce854f294e6f149cc700c7f543674
| * | | vim-patch:8.1.0779: argument for message functions is inconsistentJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *". https://github.com/vim/vim/commit/32526b3c1846025f0e655f41efd4e5428da16b6c
| * | | vim-patch:8.1.0743: giving error messages is not flexibleJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes vim/vim#3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts. https://github.com/vim/vim/commit/f9e3e09fdc93be9f0d47afbc6c7df1188c2a5a0d
| * | | vim-patch:8.1.0306: plural messages are not translated properlyJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Plural messages are not translated properly. Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin) https://github.com/vim/vim/commit/da6e8919e75fa8f961d1b805e877c8a92e76dafb
* | | | refactor(api/marks)!: add opts param for feature extensibility (#16146)Javier Lopez2021-11-01
|/ / / | | | | | | | | | | | | In the future we might want to extend the concept of named marks and adding opts reduces the need of changing the function signature in the furute.
* | | refactor: saner options for uncrustify #16196dundargoc2021-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor: general good option changes sp_deref = remove sp_not = remove sp_inv = remove sp_inside_paren_cast = remove mod_remove_duplicate_include = true sp_after_semi = add sp_after_semi_for = force sp_sizeof_paren = remove nl_return_expr = remove nl_else_brace = remove nl_else_if = remove * refactor: mod_remove_extra_semicolon = true * refactor: nl_max = 3 * refactor: sp_bool = force * refactor: sp_compare = force * refactor: sp_inside_paren = remove * refactor: sp_paren_paren = remove * refactor: sp_inside_sparen = remove * refactor: sp_before_sparen = force * refactor: sp_sign = remove * refactor: sp_addr = remove * refactor: sp_member = remove * refactor: nl_struct_brace = remove * refactor: nl_before_if_closing_paren = remove * refactor: nl_fdef_brace = force * refactor: sp_paren_comma = force * refactor: mod_full_brace_do = add
* | | fix(runtime): fix missing packpath entriesBjörn Linse2021-10-31
| | |
* | | feat: add vim.str_utf_{start,end} (#16129)Michael Lingelbach2021-10-30
| | | | | | | | | | | | | | | vim.str_utf_{start,end} return the offset from the current position to the start and end of the current utf-character (nearest codepoint) respectively.
* | | fix(vim.mpack): rename pack/unpack => encode/decode #16175Justin M. Keyes2021-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 1. "unpack" has an unrelated meaning in Lua: https://www.lua.org/manual/5.1/manual.html#pdf-unpack 2. We already have msgpackparse()/msgpackdump() and json_encode()/json_decode(), so introducing another name for the same thing is entropy. Solution: - Rename vim.mpack.pack/unpack => vim.mpack.encode/decode Caveat: This is incongruent with the `Unpacker` and `Packer` functions. - It's probably too invasive to rename those. - They also aren't part of our documented interface. - This commit is "reversible" in the sense that we can always revert it and add `vim.mpack.encode/decode` as _aliases_ to `vim.mpack.pack/unpack`, at any time in the future, if we want stricter fidelity with upstream libmpack. Meanwhile, `vim.mpack.encode/decode` is currently the total _documented_ interface of `vim.mpack`, so this change serves the purpose of consistent naming in the Nvim stdlib.
* | | refactor: uncrustify #16090dundargoc2021-10-29
| | |
* | | fix(eval): fix has('wsl') #16153erw72021-10-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: has('wsl') is decided at build-time. Solution: Check os_uname(). Fixes #12642, #16143
* | | refactor(api): break out Vim script functions to its own fileBjörn Linse2021-10-29
| | |
* | | refactor(api): break out vim_to_object/object_to_vim to own fileBjörn Linse2021-10-29
| | |
* | | fix(eval): checking for a non-empty string is too strict (#15987)Fabian2021-10-28
| | | | | | | | | | | | | | | | | | Cherry-pick check_for_nonempty_string() from patch vim-8.2.2133 and apply it on the bases of https://github.com/neovim/neovim/pull/13489 https://github.com/vim/vim/commit/2a9d5d386bea8455b37c1accebc45683ec51d6fb
* | | vim-patch:8.2.3556: filler lines are incorrect for other window in diff mode ↵Jaehwang Jerry Jung2021-10-28
|/ / | | | | | | | | | | | | | | (#16164) Problem: Filler lines are incorrect for other window in diff mode after making a change. Solution: Copy filler lines from the current window. (closes vim/vim#8809) https://github.com/vim/vim/commit/841c225b9ef8c5bdf5e02968a0bd62521fff6ca8
* | Merge pull request #16125 from dundargoc/refactor/lua/split-executorBjörn Linse2021-10-26
|\ \ | | | | | | refactor: split lua/executor.c into two files
| * | refactor: split executor.c into two filesDundar Göc2021-10-26
| | |
* | | refactor(api): move extmark API to its own fileBjörn Linse2021-10-25
|/ /
* | Merge pull request #16124 from mjlbach/feat/bjorn-baitBjörn Linse2021-10-24
|\ \ | | | | | | feat: add vim.str_utf_pos
| * | feat: add vim.str_utf_pos functionMichael Lingelbach2021-10-24
| | | | | | | | | | | | | | | vim.str_utf_pos returns the codepoints for all utf-8 chars (only, currently) in a string