aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #16901 from dundargoc/ci/add-codeownersJames McCoy2022-01-03
|\ | | | | ci: add jamessan as codeowner for ci related files
| * ci: add jamessan as codeowner for ci related filesDundar Göc2022-01-03
| | | | | | | | [skip ci]
* | chore(build): compile lua only on release builds (#16859)Shadman2022-01-03
| |
* | fix(lsp): resolve nil bufnr (#16902)Gregory Anders2022-01-03
| | | | | | Related: #16889, #16745
* | vim-patch:8.2.3995: not all sshconfig files are detected as such (#16899)Christian Clason2022-01-03
| | | | | | | | | | | | Problem: Not all sshconfig files are detected as such. Solution: Adjust the patterns used for sshconfig detection. (David Auer, closes vim/vim#9322) https://github.com/vim/vim/commit/9acf2d8be93f3b50607279e7f3484b019675d0a7
* | ci: simplify ci_fold function (#16874)dundargoc2022-01-03
| |
* | Merge pull request #16895 from dundargoc/ci/fix-shellcheck-warningsJames McCoy2022-01-03
|\ \ | |/ |/| ci: fix shellcheck errors introduced in version 0.8.0
| * ci: fix shellcheck errors introduced in version 0.8.0Dundar Göc2022-01-03
| | | | | | | | | | | | | | Solved following shellcheck warnings: SC2030 SC2295 SC2015
* | fix(lua): stricter type check when calling API function (#16745)dundargoc2022-01-03
| | | | | | | | | | Solves #13651 Co-authored-by: Gregory Anders <greg@gpanders.com>
* | docs(usr_05): fix section numbers (#16886)Sean Dewar2022-01-03
| | | | | | | | | | Other refs to 05.3 don't need to be updated as they refer to the simple mappings section anyway. Seems they weren't updated when the defaults.vim section was added as 05.3 instead.
* | fix: resolve nil arguments to API functions (#16889)Gregory Anders2022-01-03
|/ | | | | | As revealed by #16745, some functions pass a nil value to API functions, which have been implicitly converted to 0. #16745 breaks this implicit conversion, so explicitly pass a resolved buffer number to these API functions.
* Merge pull request #16890 from dundargoc/ci/nuke-before-installJames McCoy2022-01-02
|\ | | | | ci: remove unnecessary before_install script
| * ci: remove unnecessary before_install scriptDundar Göc2022-01-02
|/
* Merge pull request #16853 from jamessan/clint-master-onlyJames McCoy2022-01-02
|\ | | | | ci: run lint only on master branch
| * ci: run lint only on master branchJames McCoy2021-12-31
| | | | | | | | | | The list of known lint issues is only updated for the master branch, so other branches report lots of false positive issues.
* | Merge pull request #16883 from dundargoc/ci/remove-watchdogJames McCoy2022-01-02
|\ \ | | | | | | ci: remove watchdog function run_tests_wd
| * | ci: remove watchdog function run_tests_wdDundar Göc2022-01-02
|/ / | | | | | | | | | | | | It's only used once for running check-single-includes (which I strongly suspect it doesn't need anyway), its core logic is incorrect since both the variables "tempsize" and "prev_temsize" are never defined and parsing ps is incredibly fragile.
* | fix(lsp): always use target bufnr in location handler (#16876)Michael Lingelbach2022-01-02
| |
* | fix(diagnostic): improve validation for list arguments (#16855)Gregory Anders2022-01-01
| | | | | | | | | | | | Function arguments that expect a list should explicitly use tbl_islist rather than just checking for a table. This helps catch some simple errors where a single table item is passed as an argument, which passes validation (since it's a table), but causes other errors later on.
* | feat(lua): add support for multiple optional types in vim.validate (#16864)Shadman2022-01-01
| |
* | ci: remove outdated travis-specific code (#16869)dundargoc2022-01-01
| |
* | build(deps): bump tree-sitter to v0.20.2 (#16863)Christian Clason2022-01-01
| |
* | Merge pull request #16870 from dundargoc/refactor/pvs/V009James McCoy2022-01-01
|\ \ | | | | | | refactor(PVS/V009): add special comment at top of file required by PVS
| * | refactor(PVS/V009): add special comment at top of file required by PVSDundar Göc2022-01-01
| | | | | | | | | | | | More info: https://pvs-studio.com/en/docs/warnings/v009/
* | | Merge pull request #16840 from zeertzjq/ci-clang-13James McCoy2022-01-01
|\ \ \ | | | | | | | | ci: bump clang version to 13 in asan and tsan
| * | | ci: bump clang version to 13 in asan and tsanzeertzjq2022-01-01
| | | |
* | | | Merge pull request #16871 from bfredl/luaperfBjörn Linse2022-01-01
|\ \ \ \ | |_|/ / |/| | | perf(api): elide luaref copy when setting 'callback' in nvim_set_keymap
| * | | perf(api): elide luaref copy when setting 'callback' in nvim_set_keymapBjörn Linse2022-01-01
|/ / /
* | | test: make some tests more stable (#16860)zeertzjq2022-01-01
| | |
* | | Merge pull request #16857 from dundargoc/vim-8.2.3956Björn Linse2022-01-01
|\ \ \ | | | | | | | | vim-patch:8.2.3956
| * | | vim-patch:8.2.3956: duplicate assignmentDundar Göc2022-01-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Duplicate assignment. Solution: Remove the second assignment. (closes vim/vim#9442) https://github.com/vim/vim/commit/4b1478093eb8b8bebc94b1f596e0afc25db4d189
* | | | vim-patch:8.2.3964: some common lisp and scheme files not recognized (#16866)Christian Clason2022-01-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Some common lisp and scheme files not recognized. Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear, closes vim/vim#9447) https://github.com/vim/vim/commit/654b729c4c9951f2a46c161d1e9fefdc223fc94e
* | | | vim-patch:partial 04fb91668482 (#16852)Christian Clason2022-01-01
|/ / / | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/04fb916684829f6aa12f33f14d0d0023b458f200 omits doc/usr_41.txt (rewritten to focus on vim9script)
* | | Merge pull request #16594 from shadmansaleh/feat/api/lua_keymapsBjörn Linse2021-12-31
|\ \ \ | | | | | | | | feat(api): add support for lua function & description in keymap
| * | | feat(api): add support for lua function & description in keymapshadmansaleh2022-01-01
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Behavioral changes: 1. Added support for lua function in keymaps in -------------------------------------------- - nvim_set_keymap Can set lua function as keymap rhs like following: ```lua vim.api.nvim_{buf_}set_keymap('n', '<leader>lr', '', {callback = vim.lsp.buf.references}) ``` Note: lua function can only be set from lua . If api function being called from viml or over rpc this option isn't available. - nvim_{buf_}get_keymap When called from lua, lua function is returned is `callback` key . But in other cases callback contains number of the function ref. - :umap, nvim_del_keymap & nvim_buf_del_keymap clears lua keymaps correctly. - :map commands for displaing rhs . For lua keymaps rhs is displayed as <Lua function ref_no> Note: lua keymap cannot be set through viml command / functions. - mapargs() When dict is false it returns string in `<Lua function ref_no>` format (same format as :map commands). When dict is true it returns ref_no number in `callback` key. - mapcheck() returns string in `<Lua function ref_no>` format (same format as :map commands). 2. Added support for keymap description --------------------------------------- - nvim_{buf_}set_keymap: added `desc` option in opts table . ```lua vim.api.nvim_set_keymap('n', '<leader>w', '<cmd>w<cr>', {desc='Save current file'}) ``` - nvim_{buf_}get_keymap: contains `desc` in returned list. - commands like `:nmap <leader>w` will show description in a new line below rhs. - `maparg()` return dict contains `desc`.
* | / fix(runtime): add missing release metadataBjörn Linse2021-12-31
| |/ |/|
* | Merge pull request #16846 from dundargoc/ci/remove-brew-workaroundJames McCoy2021-12-31
|\ \ | | | | | | ci: remove outdated brew workaround that isn't needed anymore
| * | ci: remove outdated brew workaround that isn't needed anymoreDundar Göc2021-12-31
| |/
* | Merge pull request #16851 from zeertzjq/vim-8.2.3952Björn Linse2021-12-31
|\ \ | |/ |/| vim-patch:8.2.3952: first line not redrawn when adding lines to an empty buffer
| * vim-patch:8.2.3952: first line not redrawn when adding lines to an empty bufferzeertzjq2021-12-31
|/ | | | | | | Problem: First line not redrawn when adding lines to an empty buffer. Solution: Adjust the argument to appended_lines(). (closes vim/vim#9439, closes vim/vim#9438) https://github.com/vim/vim/commit/1fa3de1ce806ba18ebcc00c6d9a0678a84735463
* Merge pull request #16728 from dundargoc/refactor/remove-unused-macrosBjörn Linse2021-12-30
|\ | | | | refactor: remove unused macros
| * refactor: remove unused macrosDundar Göc2021-12-30
| | | | | | | | Closes #13505
* | Merge pull request #16373 from zeertzjq/terminal-mouse-release-forwardBjörn Linse2021-12-28
|\ \ | | | | | | fix(terminal): correctly forward mouse events
| * | fix(terminal): correctly forward mouse eventszeertzjq2021-12-27
| | |
* | | Merge pull request #16752 from gpanders/lua-user-commandsBjörn Linse2021-12-28
|\ \ \ | | | | | | | | feat(api): implement nvim_{add,del}_user_command
| * | | feat(api): implement nvim_{add,del}_user_commandGregory Anders2021-12-28
| | | | | | | | | | | | | | | | | | | | Add support for adding and removing custom user commands with the Nvim API.
* | | | chore: fix typos (#16506)dundargoc2021-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com> Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Christoph Hasse <hassec@users.noreply.github.com> Co-authored-by: Alef Pereira <ealefpereira@gmail.com> Co-authored-by: AusCyber <willp@outlook.com.au> Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
* | | | chore: fix compiler warning for multi-line comment (#16812)zeertzjq2021-12-28
| | | |
* | | | vim-patch:a4d131d11052 (#16811)Christian Clason2021-12-28
| | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/a4d131d11052cafcc5baad2273ef48e0dd4d09c5
* | | | vim-patch:8.2.3914 (#16808)dundargoc2021-12-28
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * vim-patch:8.2.3914: various spelling mistakes in comments Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes vim/vim#9416) https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673 Co-authored-by: zeertzjq <zeertzjq@outlook.com>