| Commit message (Collapse) | Author | Age |
|\
| |
| | |
ci: add jamessan as codeowner for ci related files
|
| |
| |
| |
| | |
[skip ci]
|
| | |
|
| |
| |
| | |
Related: #16889, #16745
|
| |
| |
| |
| |
| |
| | |
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: fix shellcheck errors introduced in version 0.8.0
|
| |
| |
| |
| |
| |
| |
| | |
Solved following shellcheck warnings:
SC2030
SC2295
SC2015
|
| |
| |
| |
| |
| | |
Solves #13651
Co-authored-by: Gregory Anders <greg@gpanders.com>
|
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
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.
|
|\
| |
| | |
ci: remove unnecessary before_install script
|
|/ |
|
|\
| |
| | |
ci: run lint only on master branch
|
| |
| |
| |
| |
| | |
The list of known lint issues is only updated for the master branch, so
other branches report lots of false positive issues.
|
|\ \
| | |
| | | |
ci: remove watchdog function run_tests_wd
|
|/ /
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
refactor(PVS/V009): add special comment at top of file required by PVS
|
| | |
| | |
| | |
| | | |
More info: https://pvs-studio.com/en/docs/warnings/v009/
|
|\ \ \
| | | |
| | | | |
ci: bump clang version to 13 in asan and tsan
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
perf(api): elide luaref copy when setting 'callback' in nvim_set_keymap
|
|/ / / |
|
| | | |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.3956
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Duplicate assignment.
Solution: Remove the second assignment. (closes vim/vim#9442)
https://github.com/vim/vim/commit/4b1478093eb8b8bebc94b1f596e0afc25db4d189
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Update runtime files
https://github.com/vim/vim/commit/04fb916684829f6aa12f33f14d0d0023b458f200
omits doc/usr_41.txt (rewritten to focus on vim9script)
|
|\ \ \
| | | |
| | | | |
feat(api): add support for lua function & description in keymap
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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`.
|
| |/
|/| |
|
|\ \
| | |
| | | |
ci: remove outdated brew workaround that isn't needed anymore
|
| |/ |
|
|\ \
| |/
|/| |
vim-patch:8.2.3952: first line not redrawn when adding lines to an empty buffer
|
|/
|
|
|
|
|
| |
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
|
|\
| |
| | |
refactor: remove unused macros
|
| |
| |
| |
| | |
Closes #13505
|
|\ \
| | |
| | | |
fix(terminal): correctly forward mouse events
|
| | | |
|
|\ \ \
| | | |
| | | | |
feat(api): implement nvim_{add,del}_user_command
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Add support for adding and removing custom user commands with the Nvim
API.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Update runtime files
https://github.com/vim/vim/commit/a4d131d11052cafcc5baad2273ef48e0dd4d09c5
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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>
|