| Commit message (Collapse) | Author | Age |
|
|
|
| |
* fix function parameter comments
* remove space after star in function names
|
|\
| |
| | |
vim-patch:8.2.{3286,3289,3293,3298,3313,3321,3328,3330,3331,3337,3354,3355,3357,3360,3369,3375}
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Finding completions may cause an endless loop.
Solution: Use a better way to check coming back where the search started.
(Andy Gozas, closes vim/vim#8672, closes vim/vim#8671)
https://github.com/vim/vim/commit/6a230c6b32695393785ae64b440ce5f023a22382
|
|/
|
|
|
|
| |
* refactor: disable formatting for attribute in macro
* fixup: disable/enable uncrustify with uncrustify:indent-off/on
* fixup: stop indenting contents inside braces in case
* fixup: remove case brace if no variable declaration
|
|
|
| |
Apply "redundant cast to the same type" fix from clangd.
|
| |
|
|
|
|
|
|
|
| |
#15538
Problem: Cannot stop insert mode completion without side effects.
Solution: Add CTRL-X CTRL-Z. (closes vim/vim#8821)
https://github.com/vim/vim/commit/dca29d9cf46cd1d4d4519211c7af78b6b1c56960
|
| |
|
| |
|
|
|
|
| |
fix style.
|
| |
|
|\
| |
| | |
Decrease reliance on curbuf in BUFEMPTY and `undo.c`
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
Problem: Cannot use 'balloonexpr' in a terminal.
Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
terminal. Initial implementation for Unix with GUI.
https://github.com/vim/vim/commit/51b0f3701ecb440aa72ab6017c1df6940c0e0f6f
|
|
|
|
|
|
|
|
|
| |
Problem: Cannot read back the prompt of a prompt buffer.
Solution: Add prompt_getprompt(). (Ben Jackson, closes vim/vim#6851)
https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803
Updated prompt_getprompt() doc to https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e
and removed mention of method syntax usage (not supported by Nvim).
|
|
|
|
|
|
| |
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7
|
| |
|
|
|
|
|
|
| |
Problem: Adding a lot of completions can still be a bit slow.
Solution: Add the check for CP_FAST. (Ben Jackson)
https://github.com/vim/vim/commit/ceb06194337f1a9d30cd12edb7b0dc51830b9cb7
|
|
|
|
|
|
|
| |
Problem: Adding a lot of completions can be a bit slow.
Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
list of completions. (Ben Jackson, closes vim/vim#8061)
https://github.com/vim/vim/commit/440cf096fad7bf628974abc344343b823d79a006
|
| |
|
|
|
|
|
|
| |
Problem: Using old style comments in new file.
Solution: Convert to // comments in new file. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/9c46efd7dc57c1a8eae5137d05c7e67c4f82c3d7
|
|
|
|
|
|
|
|
| |
Problem: shiftwidth() does not take 'vartabstop' into account.
Solution: Use the cursor position or a position explicitly passed.
Also make >> and << work better with 'vartabstop'. (Christian
Brabandt)
https://github.com/vim/vim/commit/f951416a8396a54bbbe21de1a8b16716428549f2
|
|
|
|
|
|
| |
Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1".
Solution: Fall back to using 'tabstop'. (closes vim/vim#3155)
https://github.com/vim/vim/commit/c9fe5ab3b093803b6e8d03358ba16aca6b6f0db1
|
|
|
|
|
|
| |
Problem: Negative value of 'softtabstop' not used correctly.
Solution: Use get_sts_value(). (Tom Ryder)
https://github.com/vim/vim/commit/33d5ab3795720b7d986f9f17f660ee9e448466e0
|
|
|
|
|
|
|
| |
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes vim/vim#2711)
https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd
|
| |
|
| |
|
|
|
|
|
|
|
| |
before, calling vim.schedule() from inside an event would execute
the scheduled callback immediately after this event without
checking for user input in between. Break event processing
whenever user input or an interrupt is available.
|
|
|
|
|
| |
Partial port of patch v8.1.0953.
Remove useless casts on MAXCOL.
|
|
|
|
|
|
|
|
| |
Problem: Color not changed if ModeMsg highlight is set in InsertEnter
autocmd event. (Paul Swanson)
Solution: Call highlight_changed() after triggering InsertEnter.
(closes vim/vim#7751)
https://github.com/vim/vim/commit/2e6cdb91e8dea08301f31bc83188c06112eb7f57
|
|
|
|
|
|
| |
Problem: No 'backspace' value allows ignoring the insertion point.
Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes vim/vim#5940)
https://github.com/vim/vim/commit/aa0489e12d227d24752cf16e4e97058ac32edcc1
|
|\
| |
| | |
ui: make 'mouse' handling in external UI more consistent
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
before the behaviour of 'mouse' was inconsistent in external UI,
as some remapping logic would check has_mouse() and others don't
(no difference in TUI or vim classic). With this change, the behaviour
is consistently up to the UI decide (see ui.txt edit)
Behaviour of tui.c is unaffected by this change.
|
| |
| |
| |
| | |
This reverts commit 0519a75f6eca1065a4d0184f99c71ae03a99b9b1.
|
| |
| |
| |
| | |
This reverts commit 4afddb8f571d9e61eab60596c59a27452e9bc839.
|
| |
| |
| |
| |
| |
| | |
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
https://github.com/vim/vim/commit/2c519cf3bfe76083767ac94c674d2e161ed36587
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Many type casts are used for vim_strnsave().
Solution: Make the length argument size_t instead of int. (Ken Takata,
closes vim/vim#5633) Remove some type casts.
https://github.com/vim/vim/commit/df44a27b53586fccfc6a3aedc89061fdd9a515ff
N/A patches for version.c:
vim-patch:8.2.0315: build failure on HP-UX system
Problem: Build failure on HP-UX system.
Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
statement. (John Marriott)
https://github.com/vim/vim/commit/c593bec4120f122e8a9129ec461968f1bd214435
vim-patch:8.2.1052: build failure with older compilers
Problem: Build failure with older compilers.
Solution: Move declaration to start of block.
https://github.com/vim/vim/commit/7acde51832f383f9a6d2e740cd0420b433ea841a
vim-patch:8.2.2229: build failure without the +eval feature
Problem: build failure without the +eval feature.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/39cb2dab18e85fc60f116a4543e433616872b690
vim-patch:8.2.2232: compiler error for falling through into next case
Problem: Compiler error for falling through into next case.
Solution: Move FALLTHROUGH below the #endif
https://github.com/vim/vim/commit/9618a25b9c054f0ee4e267d2db96b6e7c113ed7a
|
| |
| |
| |
| |
| |
| | |
Problem: Mode is not cleared when leaving Insert mode.
Solution: Clear the mode when got_int is set. (Ozaki Kiichi, closes vim/vim#4270)
https://github.com/vim/vim/commit/abc7c7fc5a098374f5543a237e6c9dd918848b34
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Peeking and flushing output slows down execution.
Solution: Do not update the mode message when global_busy is set. Do not
flush when only peeking for a character. (Ken Takata)
https://github.com/vim/vim/commit/cb574f415486adff645ce384979bfecf27f5be8c
|
|\ \
| |/
|/| |
de curwinify some functions
|
| | |
|
| | |
|
| |
| |
| |
| | |
to less rely on curwin
|
|/
|
|
|
|
| |
Problem: Auto format doesn't work when deleting text.
Solution: Make "x" trigger auto format. (closes vim/vim#7504)
https://github.com/vim/vim/commit/d0a1dee3f197d41434df4cf0271066b6aeb690fc
|
|
|
|
|
|
| |
Problem: Insert mode completion messages end up in message history.
Solution: Set msg_hist_off. (closes vim/vim#7452
https://github.com/vim/vim/commit/cc2335896ba707bf0d8cf03cca2de7c66fab62a0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Complete_info().selected may be wrong.
Solution: Update cp_number if it was never set. (issue vim/vim#6945)
https://github.com/vim/vim/commit/f9d51354de069dddc049b9e109b1932c92e5aee6
Misc changes:
For variables and function parameters that use "Direction" enum values,
update their type from from "int" to "Direction".
It is hard to review function parameters that must accept
"Direction" enum values only.
|