aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #18413 from dundargoc/refactor/remove-char_u-autocmdGregory Anders2022-05-04
|\ | | | | refactor/remove char u autocmd
| * refactor: replace char_u variables and functions with charDundar Goc2022-05-04
|/ | | | Work on https://github.com/neovim/neovim/issues/459
* Merge pull request #18387 from dundargoc/refactor/remove-char_ubfredl2022-05-04
|\ | | | | refactor: replace char_u variables and functions with char
| * 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.
* build(deps): bump LuaJIT to HEAD - 91bc6b8ad (#18378)Christian Clason2022-05-04
|
* refactor(lua): replace hard-coded gsub with vim.pesc() (#18407)James McCoy2022-05-04
|
* fix(filetype): fixup scd filetype detection (#18403)Gregory Anders2022-05-03
|
* 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
| |
* | refactor(runtime): convert dist#ft functions to lua (#18247)Jonas Strittmatter2022-05-03
| | | | | | Co-authored-by: Christian Clason <christian.clason@uni-due.de>
* | Merge pull request #18397 from vigoux/fix/ts_match_limitbfredl2022-05-03
|\ \ | |/ |/| fix(treesitter): bump match limit up
| * 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(lsp): add logging level "OFF" (#18379)ii142022-05-03
| |
* | feat(lua): vim.deprecate() #18320dundargoc2022-05-03
| | | | | | | | | | | | This is primarily intended to act as documentation for the developer so they know exactly when and what to remove. This will help prevent the situation of deprecated code lingering for far too long as developers don't have to worry if a function is safe to remove.
* | 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
* | fix(lsp): add missing bufnr argument (#18382)Jose Alvarez2022-05-03
| |
* | ci(MinGW): run pacman -Syu twice (#18384)zeertzjq2022-05-03
|/
* Merge pull request #18345 from dundargoc/refactor/remove-char_ubfredl2022-05-03
|\ | | | | refactor: replace char_u variables and functions with char
| * 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
|
* Merge pull request #18381 from zeertzjq/vim-8.2.4858zeertzjq2022-05-03
|\ | | | | vim-patch:8.2.4858: K_SPECIAL may be escaped twice
| * test: add more tests for K_SPECIAL escaping in <Cmd> mappingzeertzjq2022-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
* Merge pull request #18357 from bfredl/ui_stdinbfredl2022-05-02
|\ | | | | feat(ui): allow embedder to emulate "cat data | nvim -" behaviour
| * refactor(ui): simplify stdin handlingbfredl2022-05-02
| |
| * feat(api): support handling stdin stream in remote uihlpr982022-05-02
| |
* | Merge pull request #18353 from jamessan/ft-match-fixJames McCoy2022-05-02
|\ \ | |/ |/|
| * fix(filetype.lua): escape expansion of ~ when used as a patternJames McCoy2022-05-02
| |
* | Merge pull request #18342 from kylo252/msgpack-bumpJames McCoy2022-05-02
|\ \ | | | | | | build: bump msgpack to 4.0.0
| * | build: bump msgpack to 4.0.0kylo2522022-05-01
| | | | | | | | | | | | see https://github.com/msgpack/msgpack-c/releases/tag/c-4.0.0
* | | vim-patch:8.2.4857: Yaml indent for multiline is wrong (#18365)Christian Clason2022-05-02
| | | | | | | | | | | | | | | Problem: Yaml indent for multiline is wrong. Solution: Adjust patterns. (closes vim/vim#10328, closes vim/vim#8740) https://github.com/vim/vim/commit/f4f579b46b27f5e1689912a3e84c6a2a96efd143
* | | 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
* | Merge pull request #18356 from dundargoc/ci/gen_vimdoc/conda-edge-caseJames McCoy2022-05-02
|\ \ | | | | | | build(gen_vimdoc): handle conda edge case when parsing doxygen version
| * | build(gen_vimdoc): print user's doxygen version if it's too oldDundar Goc2022-05-02
| | | | | | | | | | | | | | | | | | @theHamsta suggested in https://github.com/neovim/neovim/pull/18348#discussion_r862594173 to also print the users doxygen version if the version is too old.
| * | ci(gen_vimdoc): handle edge case when checking doxygen versionDundar Goc2022-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When checking the version of the doxygen installed from conda the output has the following format: 1.9.2 (ee54ebd4f0ad83d9c44f19a459146de64d0ffba2*) This would cause an error in the "Missing API docs" CI job. This fix will correctly parse the doxygen version for both stable releases ("1.9.2") as well as the version with the git commit hash attached.
* | | fix(mac): add CoreServices to flake.nix #18358Daniel Kempkens2022-05-02
| | | | | | | | | The `include` was added in e038625b87dda2389d004017bd2dcf2b65bc40f6
* | | 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
* | Merge pull request #18354 from famiu/feat/api/parse_cmdbfredl2022-05-02
|\ \ | | | | | | fix(api): make `nvim_parse_cmd` preserve command modifiers
| * | 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
* | | Merge pull request #18348 from dundargoc/build/abort-if-old-doxygenJames McCoy2022-05-01
|\ \ \ | | | | | | | | build(gen_vimdoc): abort if doxygen version is too old
| * | | build(gen_vimdoc): abort if doxygen version is too oldDundar Goc2022-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There have been a few instances where developers got confused as to why their generated documentation differs from the one generated by the CI. More often than not, the reason is that their doxygen version is older than 1.9.0, which is the current minimum version. Having a simple version check will help save future developers avoid this problem.
* | | | fix(shared): avoid indexing unindexable values in vim.tbl_get() (#18337)William Boman2022-05-01
|/ / /
* | / docs: syntax is enabled by default (#17637)Christian Clason2022-05-01
| |/ |/| | | `:syntax enable` is no longer necessary (and may even be harmful). Do not recommend it in `usr_05.txt` and `usr_06.txt`, and mention the new default in `syntax.txt`.