aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| | * | fix: display global statusline correctly with ext_messagesshirasaka2022-05-05
| | | |
| * | | Merge pull request #18417 from famiu/feat/api/nvim_parse_cmdbfredl2022-05-05
| |\ \ \ | | |_|/ | |/| | refactor(api): make `range` in `nvim_parse_cmd` an array
| | * | refactor(api): make `range` in `nvim_parse_cmd` an arrayFamiu Haque2022-05-05
| | |/ | | | | | | | | | | | | | | | | | | | | | Changes the `range` value in `nvim_parse_cmd` into an array to describe range information more concisely. Also makes `range` and `count` be mutually exclusive by making count `-1` when command takes a range instead of a count. Additionally corrects the behavior of `count` for built-in commands by making the default count `0`.
| * | vim-patch:8.2.4868: when closing help window autocmds triggered for wrong ↵zeertzjq2022-05-05
| | | | | | | | | | | | | | | | | | | | | window (#18420) Problem: When closing help window autocmds triggered for the wrong window. Solution: Figure out the new current window earlier. (closes vim/vim#10348) https://github.com/vim/vim/commit/2a2707d03337d0bb7d5fd1770238809618653d4a
| * | vim-patch:8.2.4867: listing of mapping with K_SPECIAL is wrong (#18419)zeertzjq2022-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Listing of mapping with K_SPECIAL is wrong. Solution: Adjust escaping of special characters. (closes vim/vim#10351) https://github.com/vim/vim/commit/ac402f4d64bec6b6efd809fef52f5b34627bf947 Avoid overshadowing. Cherry-pick Test_list_mapping() from Vim patches 8.2.{0148,2994}. Fix rhs_is_noop.
| * | vim-patch:8.2.4865: :startinsert right after :stopinsert may not work (#18418)zeertzjq2022-05-05
| |/ | | | | | | | | | | Problem: :startinsert right after :stopinsert does not work when popup menu is still visible. Solution: Use ins_compl_active() instead of pum_visible(). (closes vim/vim#10352) https://github.com/vim/vim/commit/cd5dbad184e8235beb13dcd8a22302da09db9766
| * Merge pull request #18386 from ii14/version_dict_prereleasebfredl2022-05-04
| |\ | | | | | | feat: add "prerelease" to version dict
| | * feat: add "prerelease" to version dictii142022-05-03
| | |
| * | refactor: replace char_u variables and functions with charDundar Goc2022-05-04
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
| * | refactor: replace char_u variables and functions with charDundar Goc2022-05-04
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
| * | feat(nvim_parse_cmd): add range, count, reg #18383Famiu Haque2022-05-04
| | | | | | | | | | | | | | | Adds range, count and reg to the return values of nvim_parse_cmd. Also makes line1 and line2 be -1 if the command does not take a range. Also moves nvim_parse_cmd to vimscript.c because it fits better there.
| * | Merge pull request #18398 from vigoux/perf/ts_reuse_listbfredl2022-05-03
| |\ \ | | | | | | | | perf(treesitter): use a reuse list for query cursors
| | * | perf(treesitter): use a reuse list for query cursorsThomas Vigouroux2022-05-03
| | | |
| * | | fix(treesitter): bump match limit upThomas Vigouroux2022-05-03
| |/ / | | | | | | | | | | | | This avoids ignoring too many match results, and avoid highlighting being blank in some files.
| * | Merge pull request #15674 from yatli/ui_event_extmarkbfredl2022-05-03
| |\ \ | | | | | | | | API/UI: ui_event_extmark
| | * | feat(api/ui): win_extmarksYatao Li2022-05-03
| | |/
| * / feat(server): set $NVIM, unset $NVIM_LISTEN_ADDRESS #11009Justin M. Keyes2022-05-03
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PROBLEM ------------------------------------------------------------------------ $NVIM_LISTEN_ADDRESS has conflicting purposes as both a parameter ("the current process should listen on this address") and a descriptor ("the current process is a child of this address"). This contradiction means the presence of NVIM_LISTEN_ADDRESS is ambiguous, so child Nvim always tries to listen on its _parent's_ socket. This is the cause of lots of "Failed to start server" spam in our test/CI logs: WARN 2022-04-30… server_start:154: Failed to start server: address already in use: \\.\pipe\nvim-4480-0 WARN 2022-04-30… server_start:154: Failed to start server: address already in use: \\.\pipe\nvim-2168-0 SOLUTION ------------------------------------------------------------------------ 1. Set $NVIM to the parent v:servername, *only* in child processes. - Now the correct way to detect a "parent" Nvim is to check for $NVIM. 2. Do NOT set $NVIM_LISTEN_ADDRESS in child processes. 3. On startup if $NVIM_LISTEN_ADDRESS exists, unset it immediately after server init. 4. Open a channel to parent automatically, expose it as v:parent. Fixes #3118 Fixes #6764 Fixes #9336 Ref https://github.com/neovim/neovim/pull/8247#issuecomment-380275696 Ref #8696
| * refactor: replace char_u variables and functions with charDundar Goc2022-05-03
| | | | | | | | Work on https://github.com/neovim/neovim/issues/459
| * vim-patch:8.2.4859: wget2 files are not recognized (#18385)Christian Clason2022-05-03
| | | | | | | | | | Problem: wget2 files are not recognized. Solution: Add patterns to recognize wget2. (Doug Kearns) https://github.com/vim/vim/commit/3a974a89331182139e12386275f052a50c247ecb
| * fix(coverity): use xstrndup() instead of vim_strsave() (#18363)zeertzjq2022-05-03
| |
| * vim-patch:8.2.4858: K_SPECIAL may be escaped twicezeertzjq2022-05-03
| | | | | | | | | | | | Problem: K_SPECIAL may be escaped twice. Solution: Avoid double escaping. (closes vim/vim#10340) https://github.com/vim/vim/commit/db08887f24d20be11d184ce321bc0890613e42bd
| * refactor(ui): simplify stdin handlingbfredl2022-05-02
| |
| * feat(api): support handling stdin stream in remote uihlpr982022-05-02
| |
| * vim-patch:8.2.4855: robot files are not recognized (#18364)Christian Clason2022-05-02
| | | | | | | | | | Problem: Robot files are not recognized. Solution: Add patterns for robot files. (Zoe Roux, closes vim/vim#10339) https://github.com/vim/vim/commit/2096a5f128029b1156a035a27c988995db240cea
| * vim-patch:8.2.1835: ":help ??" finds the "!!" tag (#18350)dundargoc2022-05-02
| | | | | | | | | | | | | | | | | | | | * vim-patch:8.2.1835: ":help ??" finds the "!!" tag Problem: ":help ??" finds the "!!" tag. Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes vim/vim#7114, closes vim/vim#7115) https://github.com/vim/vim/commit/6eb36ade9883f54c84c739c6a3504ddfa3343063 Change test because patch 8.2.1794 hasn't been ported yet.
| * vim-patch:8.2.3306: unexpected "No matching autocommands" (#17912)dundargoc2022-05-02
| | | | | | | | | | | | Problem: Unexpected "No matching autocommands". Solution: Do not give the message when aborting. Mention the arguments in the message. (closes vim/vim#8690) https://github.com/vim/vim/commit/1b154ea121d8374a129c3e30d50fa9742cd5faa1
| * fix(api): preserve `cmdmod` on `nvim_parse_cmd`Famiu Haque2022-05-02
| |
| * Merge pull request #18294 from mhinz/mac/simpler-locale-fallbackJames McCoy2022-05-01
| |\ | | | | | | fix(mac): use same $LANG fallback mechanism as Vim
| | * fix(mac): use same $LANG fallback mechanism as VimMarco Hinz2022-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a locale "en_US", "en" is the language and "US" is the region. Before this change, we were too clever for our own good and tried to handle the region as well. But if the macOS primary language is set to "English" and the region to "Norway", we would end up with "en_NO", which is a locale that does not exist. Now we only take the language into account. Taking the example from above would yield "en_US", which is a sensible fallback. If the region is important to you, set $LANG and the more specific LC_* variables in your shell config or alternatively use `:help :language`. References https://github.com/neovim/neovim/issues/18292
| * | refactor: replace char_u variables and functions with charDundar Goc2022-04-30
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
| * | Merge pull request #18231 from famiu/feat/api/parse_cmdlinebfredl2022-04-30
| |\ \ | | | | | | | | feat(api): `nvim_parse_cmd`
| | * | feat(api): add `nvim_parse_cmdline`Famiu Haque2022-04-30
| | | | | | | | | | | | | | | | Adds an API function to parse a command line string and get command information from it.
| * | | vim-patch:8.2.4849: Gleam filetype not detected (#18326)Christian Clason2022-04-30
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Gleam filetype not detected. Solution: Add a pattern for Gleam files. (Mathias Jean Johansen, closes vim/vim#10326) https://github.com/vim/vim/commit/917c32c4f75351061a773cd5bc5b6f42c7d10e62
| * | | Merge pull request #18323 from zeertzjq/vim-8.1.2191zeertzjq2022-04-30
| |\ \ \ | | |/ / | |/| | vim-patch:8.1.2191,8.2.4848: mappings for completion keys not ignored
| | * | vim-patch:8.2.4848: local completion with mappings and simplification not ↵zeertzjq2022-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | working Problem: Local completion with mappings and simplification not working. Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are not simplified. (closes vim/vim#10323) https://github.com/vim/vim/commit/ee4460306917431d0d17a7cb11c6646f4c6540b6
| | * | vim-patch:8.1.2191: when using modifyOtherKeys CTRL-X mode may not workzeertzjq2022-04-30
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When using modifyOtherKeys CTRL-X mode may not work. Solution: Recognize a control character also in the form with a modifier. https://github.com/vim/vim/commit/88d3d09e07dbe0e3ea450bc554e2aadc451450d2
| * | | refactor: replace char_u variables and functions with char (#18288)dundargoc2022-04-30
| |/ / | | | | | | Work on https://github.com/neovim/neovim/issues/459
| * | fix(tui): disable extended keys before exiting alternate screen (#18318)zeertzjq2022-04-30
| | |
| * | vim-patch:8.2.0144: some mapping code is not fully tested (#18313)zeertzjq2022-04-30
| | | | | | | | | | | | | | | Problem: Some mapping code is not fully tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5519) https://github.com/vim/vim/commit/c2a60ae10e7badad9186de59a9994fc8c9f539e0
| * | fix(input): only disable mapped CTRL-C interrupts when getting input (#18310)zeertzjq2022-04-30
| | |
| * | vim-patch:8.2.4845: duplicate codezeertzjq2022-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Duplicate code. Solution: Move code below if/else. (closes vim/vim#10314) https://github.com/vim/vim/commit/590f365f91511c164253c5b5812d4d0fc4a238d6 N/A patches for version.c: vim-patch:8.2.4844: <C-S-I> is simplified to <S-Tab> Problem: <C-S-I> is simplified to <S-Tab>. Solution: Do not simplify CTRL if there is also SHIFT. (closes vim/vim#10313) https://github.com/vim/vim/commit/758a8d199988b5b25566b2820db60dc2c9de3e58 vim-patch:8.2.4846: termcodes test fails Problem: Termcodes test fails. Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes vim/vim#10316) https://github.com/vim/vim/commit/bad8a013c238595aa206690210eb1367fbc878f9
| * | Merge pull request #18162 from dundargoc/refactor/unctustifybfredl2022-04-29
| |\ \ | | | | | | | | refactor/uncrustify
| | * | refactor(uncrustify): change rules to better align with the style guideDundar Goc2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add space around arithmetic operators '+' and '-'. Remove space between back-to-back parentheses, i.e. ')(' vs. ') ('. Remove space between '((' or '))' of control statements. Add space between ')' and '{' of control statements. Remove space between function name and '(' on function declaration. Collapse empty blocks between '{' and '}'. Remove newline at the end of the file. Remove newline between 'enum' and '{'. Remove newline between '}' and ')' in a function invocation. Remove newline between '}' and 'while' of 'do' statement.
| | * | refactor(uncrustify): format all c code under /src/nvim/Dundar Goc2022-04-29
| | | |
| | * | refactor(uncrustify): disable formatting in problematic code sectionsDundar Goc2022-04-29
| | | |
| * | | feat(mappings): do not simplify the rhs of a mappingzeertzjq2022-04-29
| | | |
| * | | feat(mappings): allow special keys and modifiers in <Cmd> mappingzeertzjq2022-04-29
| |/ /
| * | fix(mappings): fix double-free when unmapping simplifiable Lua mappingzeertzjq2022-04-29
| | |
| * | feat(mappings): do not replace existing mapping for simplified formzeertzjq2022-04-29
| | |
| * | vim-patch:8.2.4837: modifiers not simplified when timed outzeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | | | | Problem: Modifiers not simplified when timed out or using feedkeys() with 'n" flag. Solution: Adjust how mapped flag and timeout are used. (closes vim/vim#10305) https://github.com/vim/vim/commit/68a573ce2b996602a86b14d9b258ebb8c657604f