| Commit message (Collapse) | Author | Age |
... | |
|/ / / |
|
| |/
|/|
| | |
`: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`.
|
|\ \
| | |
| | | |
refactor: replace char_u variables and functions with char
|
| | |
| | |
| | |
| | | |
Work on https://github.com/neovim/neovim/issues/459
|
| | |
| | |
| | | |
There are *.vim and *.po files ported from Vim that use a non-UTF-8 encoding.
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| | |
(#18333)
Co-authored-by: ii14 <ii14@users.noreply.github.com>
|
| |
| |
| | |
Follow up to https://github.com/neovim/neovim/pull/17814
|
|\ \
| | |
| | | |
feat(api): `nvim_parse_cmd`
|
| | |
| | |
| | |
| | | |
Adds an API function to parse a command line string and get command information from it.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Deprecates the existing `vim.lsp.buf.formatting` function.
With this, `vim.lsp.buf.format` will replace all three:
- vim.lsp.buf.formatting
- vim.lsp.buf.formatting_sync
- vim.lsp.buf.formatting_seq_sync
|
|\ \ \
| |/ /
|/| | |
vim-patch:8.1.2191,8.2.4848: mappings for completion keys not ignored
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| | |
Work on https://github.com/neovim/neovim/issues/459
|
| | |
|
| | |
|
| |
| |
| |
| | |
Specify which message, or request, was last received in case of an error
instead of the same generic message
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* feat(lsp)!: remove capabilities sanitization
Users must now access client.server_capabilities which matches the same
structure as the protocol.
https://microsoft.github.io/language-server-protocol/specification
client.resolved_capabilities is no longer used to gate capabilities, and
will be removed in a future release.
BREAKING CHANGE
Co-authored-by: Mathias Fussenegger <f.mathias@zignar.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implement two new options to vim.lsp.buf.code_action():
- filter (function): predicate taking an Action as input, and returning
a boolean.
- apply (boolean): when set to true, and there is just one remaining
action (after filtering), the action is applied without user query.
These options can, for example, be used to filter out, and automatically
apply, the action indicated by the server to be preferred:
vim.lsp.buf.code_action({
filter = function(action)
return action.isPreferred
end,
apply = true,
})
Fix #17514.
|
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| | |
| | | |
vim-patch:8.2.{4844,4845,4846}
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ / |
|
| |
| |
| |
| | |
Without any feedback it gives the impression that the language server is
not working properly, which isn't the case.
|
|\ \
| | |
| | | |
refactor/uncrustify
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
feat(mappings): do not simplify the rhs of a mapping
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
fix(mappings): fix double-free when unmapping simplifiable Lua mapping
|
|/ / |
|
|\ \
| | |
| | | |
vim-patch:8.1.{2145,2159,2165,2167,2333,2346,2350},8.2.{0839,0851,0855,0867,0916,0919,2084,2728,3595,4504,4819,4824,4827,4828,4829,4833,4837}
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Failure of mapping not checked for.
Solution: Check return value of ins_typebuf(). (closes vim/vim#10299)
https://github.com/vim/vim/commit/12e21e387b5bbc928097abf1c189b7dc665838fc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: A key may be simplified to NUL.
Solution: Use K_ZERO instead. Use macros instead of hard coded values.
(closes vim/vim#10290)
https://github.com/vim/vim/commit/17c95d9608370559441bb73941ba6d9a4b6b26bd
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Fix for unmapping simplified key not fully tested.
Solution: Add a test case. (closes vim/vim#10292)
https://github.com/vim/vim/commit/abeb09b2c53054513812d1e56716e2a5abe8f354
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Typo in variable name. (Gabriel Dupras)
Solution: Rename the variable.
https://github.com/vim/vim/commit/87f74106f96737e7b8ceaafe1a131aa718077de6
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Expression is evaluated multiple times.
Solution: Evaluate expression once and store the result. (closes vim/vim#10278)
https://github.com/vim/vim/commit/23d5770ef5e2f5c6d20d123303b81327045e5a1e
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Unmapping simplified keys also deletes other mapping.
Solution: Only unmap a mapping with m_simplified set. (closes vim/vim#10270)
https://github.com/vim/vim/commit/a4e3332650021921068ef12923b4501c5b9918cb
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When there is a partially matching map and modifyOtherKeys is
active a full map may not work.
Solution: Only simplify modifiers when there is no matching mapping.
(closes vim/vim#8792)
https://github.com/vim/vim/commit/196c3850dbe95247f7aa1b0000a5cae625a99ef2
Omit test as it sends terminal codes. Use a Lua test instead.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Check for signed overflow might not work everywhere.
Solution: Limit to 32 bit int. (closes vim/vim#9043, closes vim/vim#9067)
https://github.com/vim/vim/commit/0d5a12ea041c112b06b1aafde38846ae4cff8f4c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Special key names don't work if 'isident' is cleared.
Solution: Add vim_isNormalIDc() and use it for special key names.
(closes vim/vim#2389)
https://github.com/vim/vim/commit/e3d1f4c982bd0fe05496448d7868268c75ff7bfb
Code is N/A as Nvim already has ascii_isident(), so just port the test.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: CTRL-R CTRL-R doesn't work with modifyOtherKeys.
Solution: Allow key codes when fetching argument for CTRL-R. (closes vim/vim#5266)
Also fix CTRL-G in Insert mode.
https://github.com/vim/vim/commit/38571a04b4eb2853f46df8884750bcb9a8115db8
Omit test as it sends terminal codes. Use a Lua test instead.
|