aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* docs: regenerate (#15986)github-actions[bot]2021-10-19
| | | Co-authored-by: marvim <marvim@users.noreply.github.com>
* Merge pull request #16084 from dundargoc/ci/commitlint/checkout-branch-directlyJames McCoy2021-10-19
|\ | | | | ci(commitlint): use action to checkout to pr branch directly
| * ci(commitlint): use action to checkout to pr branch directlyDundar Göc2021-10-19
|/
* feat(api): evaluate statusline string #16020Famiu Haque2021-10-18
| | | | | | Adds API function `nvim_eval_statusline` to allow evaluating a statusline string and obtaining information regarding it. Closes https://github.com/neovim/neovim/issues/15849
* feat(lsp): use vim.ui.select() in codelenses (#16004)Josa Gesell2021-10-18
| | | Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com> Mathias Fußenegger <mfussenegger@users.noreply.github.com>
* fix(lsp): fix cursor row after textEdits (#16038)hrsh7th2021-10-18
|
* fix(lsp): persist diagnostic config for clientsGregory Anders2021-10-18
| | | | | Persist configuration settings set with `vim.lsp.with` and `vim.lsp.diagnostic.on_publish_diagnostics` by setting the config for the namespace associated with the client.
* Merge pull request #16034 from rcowsill/ci/labeler/no-checkoutJames McCoy2021-10-17
|\ | | | | ci(labeler): Remove checkout steps
| * ci(labeler): Remove checkout stepsRob Cowsill2021-10-15
| | | | | | Sets GH_REPO and passes PR number to `gh`, making checkout unnecessary
* | refactor: convert to doxygen-style comments #16013dundargoc2021-10-17
| |
* | fix(PVS/V1028): prevent possible overflow #16023dundargoc2021-10-17
| | | | | | | | | | | | Full warning: "Possible overflow. Consider casting operands, not the result." https://pvs-studio.com/en/docs/warnings/v1028/
* | Merge pull request #15999 from famiu/fix/build/export-windows-symbolsBjörn Linse2021-10-17
|\ \ | | | | | | fix(build): export symbols on Windows
| * | fix(build): export symbols on WindowsFamiu Haque2021-10-17
| | | | | | | | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/15063 Allows using Neovim core functions using LuaJIT FFI on Windows.
* | | Merge pull request #15973 from bfredl/luapathBjörn Linse2021-10-17
|\ \ \ | | | | | | | | fix(runtime): don't use regexes inside lua require'mod'
| * | | fix(runtime): don't use regexes inside lua require'mod'Björn Linse2021-10-17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #15147 and fixes #15497. Also sketch "subdir" caching. Currently this only caches whether an rtp entry has a "lua/" subdir but we could consider cache other subdirs potentially or even "lua/mybigplugin/" possibly. Note: the async_leftpad test doesn't actually fail on master, at least not deterministically (even when disabling the fast_breakcheck throttling). It's still useful as a regression test for further changes and included as such.
* | | Merge pull request #15952 from zeertzjq/vim-8.1.1291Jan Edmund Lazo2021-10-17
|\ \ \ | | | | | | | | vim-patch:8.0.{1459,1460,1461,1463},8.1.{0602,0604,1291},8.2.{0189,0876,0909,1411}: chdir and DirChanged related patches
| * | | test(dirchanged): add tests for DirChanged pattern "auto"zeertzjq2021-10-17
| | | |
| * | | refactor(dirchanged): tab -> tabpagezeertzjq2021-10-17
| | | | | | | | | | | | | | | | Match Vim's behavior.
| * | | vim-patch:8.2.1411: when splitting a window localdir is copied but prevdir ↵zeertzjq2021-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is not Problem: when splitting a window localdir is copied but prevdir is not. Solution: Also copy prevdir. (closes vim/vim#6667) https://github.com/vim/vim/commit/a9a47d157ab1946d1e286c9695bc68d71305af68
| * | | vim-patch:8.2.0909: cannot go back to the previous local directoryzeertzjq2021-10-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot go back to the previous local directory. Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes vim/vim#4362) https://github.com/vim/vim/commit/002bc79991286934a9593b80635c27d4238cdfc4
| * | | vim-patch:8.2.0876: :pwd does not give a hint about the scope of the directoryzeertzjq2021-10-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: :pwd does not give a hint about the scope of the directory Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes vim/vim#5469) https://github.com/vim/vim/commit/950587242cad52d067a15f0f0c83528a28f75731
| * | | vim-patch:8.2.0189: cd() with NULL argument crasheszeertzjq2021-10-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: cd() with NULL argument crashes. Solution: Check for NULL. (Ken Takata, closes vim/vim#5558) https://github.com/vim/vim/commit/7cc96923c44bbcc541cbd211b6308d87a965f0c3
| * | | test: partially port Vim patches 8.1.2278 and 8.2.1432zeertzjq2021-10-17
| | | |
| * | | vim-patch:8.1.1291: not easy to change directory and restorezeertzjq2021-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not easy to change directory and restore. Solution: Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358) https://github.com/vim/vim/commit/1063f3d2008f22d02ccfa9dab83a23db52febbdc Also includes some documentation changes from patch 8.1.1218.
| * | | vim-patch:8.1.0604: autocommand test fails on MS-Windowszeertzjq2021-10-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Autocommand test fails on MS-Windows. Solution: Use pathcmp() instead of strcmp() to check if a directory differs. https://github.com/vim/vim/commit/9eb76af451ddd8eaad0cd5dd629f18c4f4035171
| * | | vim-patch:8.1.0602: DirChanged is also triggered when directory didn't changezeertzjq2021-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: DirChanged is also triggered when the directory didn't change. (Daniel Hahler) Solution: Compare the current with the new directory. (closes vim/vim#3697) https://github.com/vim/vim/commit/2caad3fbbdbf1486a176c9f6bfbc3d9be90e09f7
| * | | vim-patch:8.0.1463: test fails without 'autochdir' optionzeertzjq2021-10-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test fails without 'autochdir' option. Solution: Skip test if 'autochdir' is not supported. https://github.com/vim/vim/commit/ec48a9c58989babcad23d73483955f35b6e41492
| * | | vim-patch:8.0.1459: cannot handle change of directoryzeertzjq2021-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot handle change of directory. Solution: Add the DirChanged autocommand event. (Andy Massimino, closes vim/vim#888) Avoid changing directory for 'autochdir' too often. https://github.com/vim/vim/commit/b7407d3fc9496f9048fb65ab17b5ba3444965c0e Only add "auto" pattern. "window" and "global" are already implemented. Skip `Test_dirchanged_auto` using `CheckFunction test_autochdir`. Part of PR #15952. More information can be found there. N/A patches for version.c: vim-patch:8.0.1460: missing file in patch Problem: Missing file in patch. Solution: Add changes to missing file. https://github.com/vim/vim/commit/b5cb65ba2bcc6bbc6d2798a2dea18b95f0b38f5e vim-patch:8.0.1461: missing another file in patch Problem: Missing another file in patch. Solution: Add changes to missing file. https://github.com/vim/vim/commit/15833239a4131279935a4bd574b74fe3a2b0f49f
* | | | Merge pull request #15930 from dundargoc/vim-patch/old-style-c-commentsJan Edmund Lazo2021-10-17
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.2396,8.1.2395,8.1.2394,8.1.2392,8.1.2368,8.1.2388,8.1.2379
| * | | | fixup! vim-patch:8.1.2379: using old C style commentsDundar Göc2021-10-17
| | | | |
| * | | | fixup! vim-patch:8.1.2388: using old C style commentsDundar Göc2021-10-16
| | | | |
| * | | | fixup! vim-patch:8.1.2379: using old C style commentsDundar Göc2021-10-16
| | | | |
| * | | | fixup! vim-patch:8.1.2396: using old C style commentsDundar Göc2021-10-16
| | | | |
| * | | | vim-patch:8.1.2379: using old C style commentsDundar Göc2021-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/217e1b8359447f5550dcb0d1ee43380a90c253c5
| * | | | vim-patch:8.1.2388: using old C style commentsDundar Göc2021-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/4ba37b5833de99db9e9afe8928b31c864182405c
| * | | | vim-patch:8.1.2368: using old C style commentsDundar Göc2021-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/c667da5185ce5dce914d2006d62da2be0cedb384
| * | | | vim-patch:8.1.2392: using old C style commentsDundar Göc2021-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/6e0ce171e19d0118ecd7c2b16e2a1bd50aa76013
| * | | | vim-patch:8.1.2394: using old C style commentsDundar Göc2021-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/63d9e730f726341bf41ee4f4b829253cb9879110
| * | | | vim-patch:8.1.2395: using old C style commentsDundar Göc2021-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/0d6f5d9740dbad1b0207f3ab257de806169dd905
| * | | | vim-patch:8.1.2396: using old C style commentsDundar Göc2021-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/e38eab22c1fb950127f0307a9904de6d4561dc70
* | | | | fix(diagnostic): do not override existing config settings #16043Gregory Anders2021-10-17
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using `true` as the value of a configuration option, the option is configured to use default values. For example, if a user configures virtual text to include the source globally (using vim.diagnostic.config) and a specific namespace or producer configures virtual text with `virt_text = true`, the user's global configuration is overriden. Instead, interpret a value of `true` to mean "use existing settings if defined, otherwise use defaults".
* | | | Merge #15994 feat(:source, nvim_exec): script-local scopeJustin M. Keyes2021-10-17
|\ \ \ \ | |_|/ / |/| | |
| * | | feat(:source, nvim_exec): defer script item creation until s:var accessSean Dewar2021-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For anonymous scripts, defer the creation of script items until an attempt to access a script-local variable is made. This dramatically reduces the number of script items created when using lots of vim.cmd and nvim_exec especially. This will mean <SID> usage fails until a script-local variable access is first made.
| * | | feat(:source, nvim_exec): support script-local variablesSean Dewar2021-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on #13143 (and #11507) with changes: - Omit script_type_E. Use sn_name == NULL to determine anon items. - Keep SID_STR. Used by anon :source for .lua files (no item). - Show SID in get_scriptname output (:verbose set). - Factor item creation into new_script_item. - Leave sc_seq = 0 (anon scripts don't re-use the same item when re-sourced). - Add tests for anon :source. Co-authored-by: Vikram Pal <vikrampal659@gmail.com> Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* | | | vim-patch:8.2.3519: TOML files are not recognized (#16045)dundargoc2021-10-16
| | | | | | | | | | | | | | | | | | | | Problem: TOML files are not recognized. Solution: Add filetype patterns for TOML. (Aman Verma, closes vim/vim#8984) https://github.com/vim/vim/commit/28b6a3bef6d25d36c049bb731ced496155f7f9c0
* | | | Merge pull request #16042 from clason/vim-2286304cdbbaChristian Clason2021-10-16
|\ \ \ \ | | | | | | | | | | | | | | | vim-patch:2286304cdbba chore(test): adapt healthcheck test to new css syntax
| * | | | chore(test): adapt healthcheck test to new css syntaxChristian Clason2021-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The runtime file update https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f added a `syn keyword` for `css`, which affects (via `html` and `markdown` syntax files) the highlighting of `:checkhealth` output (before, `ERROR:` was highlighted with `healthError`; now the colon is no longer included).
| * | | | vim-patch:2286304cdbbaChristian Clason2021-10-16
|/ / / / | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f
* | | | vim-patch:8.2.3501: tmux filetype dection is incomplete (#16021)dundargoc2021-10-15
| | | | | | | | | | | | | | | | | | | | | | | | Problem: tmux filetype dection is incomplete Solution: Also use tmux for files having text after .conf. (Eric Pruitt, closes vim/vim#8971) https://github.com/vim/vim/commit/e519eb41c1c12836b2d12aeb703bb04c7618a724
* | | | fix: correctly capture uri scheme on windows (#16027)Michael Lingelbach2021-10-15
| |_|/ |/| | | | | | | | | | | | | | closes https://github.com/neovim/neovim/issues/15261 * normalize uri path to forward slashes on windows * use a capture group on windows that avoids mistaking drive letters as uri scheme