Shougo Matsushita
21a3d1a511
Fix the comments
2021-04-05 13:41:39 +09:00
Shougo Matsushita
1996028c5c
vim-patch:8.2.2707: adding a lot of completions can still be a bit slow
...
Problem: Adding a lot of completions can still be a bit slow.
Solution: Add the check for CP_FAST. (Ben Jackson)
ceb0619433
2021-04-05 09:24:11 +09:00
Shougo Matsushita
356a35a848
vim-patch:8.2.2704: adding a lot of completions can be a bit slow
...
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 )
440cf096fa
2021-04-05 09:22:26 +09:00
Björn Linse
9b2d4ff625
Merge pull request #14227 from bfredl/bordaa3
...
Border: allow to enable/disable specific border edges
2021-04-05 00:21:51 +02:00
Björn Linse
160c9fd126
Merge pull request #14199 from bfredl/chansend2
...
api: fix use-after-free in nvim_chan_send
2021-04-04 22:41:01 +02:00
Ghjuvan Lacambre
0f187700ab
vim-patch:8.2.0295: highlighting for :s wrong when using different separator ( #14286 )
...
Problem: Highlighting for :s wrong when using different separator.
Solution: Use separat argument for search direction and separator. (Rob
Pilling, closes vim/vim#5665 )
c036e87bd7
2021-04-04 14:43:22 -04:00
Björn Linse
a4d3804837
Border: allow to enable/disable specific border edges
2021-04-04 18:32:31 +02:00
Björn Linse
3d6831a30a
api: fix use-after-free in nvim_chan_send
2021-04-04 18:11:48 +02:00
Jan Edmund Lazo
76f5c72860
Merge pull request #14063 from lewis6991/master
...
vim-patch:8.1.{1631,1682,1899}: sign improvements
2021-04-04 10:28:16 -04:00
Björn Linse
ce976bf355
Merge pull request #14278 from chentau/extmark_retab
...
extmark: buffer update fixes for `noexpandtab` and `:retab`
2021-04-04 09:42:34 +02:00
erw7
8e496b9dfd
Merge pull request #14268 from erw7/fix-p_ch-problem
...
screen: fix problem with p_ch
2021-04-04 12:04:36 +09:00
erw7
8ed0a0d4db
Merge pull request #14094 from erw7/improve-get-bg
...
tui: improve support for tmux, GNU Screen
2021-04-04 12:03:33 +09:00
Jan Edmund Lazo
0dfb4e2765
Merge pull request #14282 from janlazo/vim-8.2.2695
...
vim-patch:8.2.{2695,2697,2700,2701,2702}
2021-04-03 21:09:26 -04:00
Jan Edmund Lazo
53cceda52d
vim-patch:8.2.2702: compiler completion test fails when more scripts are added
...
Problem: Compiler completion test fails when more scripts are added.
Solution: Add a more generic pattern.
c17ba791a9
2021-04-03 20:31:17 -04:00
Jan Edmund Lazo
ffef1519ca
vim-patch:8.2.2697: function list test fails
...
Problem: Function list test fails.
Solution: Add missing function. (Yegappan Lakshmanan)
0df6030145
2021-04-03 20:26:05 -04:00
Jan Edmund Lazo
3a623fd5cf
vim-patch:8.2.2695: cursor position reset with nested autocommands
...
Problem: Cursor position reset with nested autocommands.
Solution: Only check and reset line numbers for not nested autocommands.
(closes vim/vim#5820 )
1e6bbfb560
N/A patches for version.c:
vim-patch:8.2.2700: nested autocmd test fails sometimes
Problem: Nested autocmd test fails sometimes.
Solution: Wait for the job to finish.
6437475ffb
vim-patch:8.2.2701: order of removing FORTIFY_SOURCE is wrong
Problem: Order of removing FORTIFY_SOURCE is wrong.
Solution: Use the more specific pattern first.
26f201345d
2021-04-03 20:25:59 -04:00
Lewis Russell
d82b599ea5
vim-patch:8.1.1899: sign_place() does not work as documented
...
Problem: sign_place() does not work as documented.
Solution: Make accept line numbers like line(). (Yegappan Lakshmanan,
closes #4848 )
2021-04-03 23:56:55 +01:00
Lewis Russell
5257bce979
vim-patch:8.1.1682: placing a larger number of ...
...
...signs is slow
Problem: Placing a larger number of signs is slow.
Solution: Add functions for dealing with a list of signs. (Yegappan
Lakshmanan, closes #4636 )
2021-04-03 23:56:54 +01:00
Lewis Russell
0b7e5eeb62
vim-patch:8.1.1631: displaying signs is inefficient
...
+ support for neovim's dynamic width signcolumn
Problem: Displaying signs is inefficient.
Solution: Avoid making multiple calls to get information about a placed
sign. (Yegappan Lakshmanan, closes #4586 )
2021-04-03 23:39:56 +01:00
Björn Linse
804ea22944
Merge pull request #14226 from bfredl/luarefcount
...
lua: track reference ownership with ASAN when present
2021-04-03 17:48:39 +02:00
Björn Linse
2df527e1ff
test/lsp: disable tracking in LSP tests (here be dragons)
2021-04-03 16:27:58 +02:00
Björn Linse
7e799502e5
luaref: simplify handling of table callables and fix leak in vim.fn.call(table)
...
I AM THE TABLE
2021-04-03 16:27:58 +02:00
Björn Linse
623fe4dc7e
luaref: free decoration providers
2021-04-03 16:27:58 +02:00
Björn Linse
a0b7bb4153
luaref: free all references in buffer_updates
2021-04-03 16:27:58 +02:00
Björn Linse
eae4b1e5c2
luaref: fix leaks for global luarefs
2021-04-03 16:27:58 +02:00
Björn Linse
5ed383057b
lua: track reference ownership with ASAN when present
2021-04-03 16:27:58 +02:00
Jan Edmund Lazo
abdda66410
vim-patch:8.2.2694: when 'matchpairs' is empty every character beeps ( #14279 )
...
Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
Solution: Bail out when no character in 'matchpairs' was found.
(closes vim/vim#8053 ) Add assert_nobeep().
5b8cabfef7
2021-04-03 08:49:39 -04:00
erw7
581b2bcde0
screen: fix problem with p_ch
...
When the screen is resized, p_ch is not re-set to the appropriate value.
As a result, access to invalid addresses was occurring.
2021-04-03 15:27:46 +09:00
shadmansaleh
f4224a12c0
Fix lualint warnings
2021-04-03 10:18:40 +06:00
shadmansaleh
7a6228d581
Add tests for nvim_set_hl()
2021-04-03 09:18:53 +06:00
chentau
7602c56050
extmark: fixes for noexpandtab and retab
2021-04-02 16:21:46 -07:00
Björn Linse
6db3ba9df2
Merge pull request #14027 from dylanarmstrong/fix/13955-empty-paste-in-term-segfault
...
fix: segfault when pasting in term with empty buffer
2021-04-02 23:15:43 +02:00
Dylan Armstrong
42d2bbe7d0
chore: move check for paste size
2021-04-02 12:49:36 -05:00
Steven Sojka
8bea39f372
feat(treesitter): allow injections to be configured through directives
2021-04-02 12:48:16 -05:00
Jan Edmund Lazo
dde89730b4
vim-patch:8.2.2690: PowerShell files are not recognized ( #14276 )
...
Problem: PowerShell files are not recognized.
Solution: Recognize several PowerShell extension. (Heath Stewart,
closes vim/vim#8051 )
ef38bcf051
N/A patches for version.c:
vim-patch:8.2.2689: tiny build fails
Problem: Tiny build fails.
Solution: Add #ifdef around use of p_stl.
160a2b4dac
vim-patch:8.2.2691: autoconf may mess up compiler flags
Problem: Autoconf may mess up compiler flags.
Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
closes vim/vim#8049 )
3fa5e64e0e
2021-04-02 13:44:25 -04:00
Thomas Vigouroux
22ef4071f0
Merge pull request #14197 from theHamsta/file-handles-modeline
...
Fix #14192 : Handle IO errors and close files in query.lua
2021-04-02 16:50:28 +02:00
Stephan Seitz
43eb22d4c9
Fix #14192 : Handle IO errors and close files in query.lua
2021-04-02 16:21:49 +02:00
Thomas Vigouroux
f2df01900e
Merge pull request #14188 from mfussenegger/treesitter-0194
...
treesitter: Update to 0.19.4+2
2021-04-02 15:50:46 +02:00
Thomas Vigouroux
bfaf42a621
Merge pull request #14039 from theHamsta/fix-field-introspection
...
Fix(treesitter): Make treesitter.inspect_lang include last field name
2021-04-02 15:46:01 +02:00
Jan Edmund Lazo
cf6c23fb0f
Merge pull request #14273 from janlazo/clang-warnings
...
clang: resolve logic error and dead store warnings
2021-04-02 09:21:25 -04:00
Jan Edmund Lazo
4f3396e128
clang/'Logic error': assert nonnull p_extra
2021-04-02 08:43:51 -04:00
Jan Edmund Lazo
49706a1842
clang/'Logic error': fix loop cond to avoid nullptr deref
...
nvim_set_decoration_provider() has insufficient null checks.
2021-04-02 08:38:37 -04:00
Jan Edmund Lazo
4d396271e1
clang/API: copy "" if orig_save is NULL
...
orig_save can be NULL if ExpandOne() is misused
if ExpandOne() is first called with mode "WILD_CANCEL" or "WILD_APPLY"
before other modes.
2021-04-02 08:30:16 -04:00
Jan Edmund Lazo
5bfad093b2
clang/'Dead store': remove dead assign in msg_may_trunc
...
Evaluating the expression without assignment is enough.
2021-04-02 08:23:41 -04:00
Jan Edmund Lazo
6d34b0b702
clang/'Dead store': do not assign fnamelen
...
Vim hasn't changed this line in buf_modname().
Assigning a value to fnamelen is useless
when evaluating strlen() is sufficient for the condition check.
2021-04-02 08:23:41 -04:00
Jan Edmund Lazo
484370f206
clang/'Logic error': cmd_source_buffer() requires nonnull param
2021-04-02 08:23:40 -04:00
Jan Edmund Lazo
ba3d626efb
clang/'Logic error': avoid nullptr deref
...
mouse_find_win() can return NULL.
2021-04-02 08:23:40 -04:00
Jan Edmund Lazo
5bf94259c1
clang/'Logic error': set vcol in do_put()
2021-04-02 08:23:40 -04:00
Thomas Vigouroux
3f7cd18c4a
Merge pull request #14218 from steelsojka/bugfix/check-queries-exist
...
fix(treesitter): check highlight queries exist
2021-04-02 05:24:49 +02:00
Kevin Svetlitski
da31f1c7dd
doc: Fix typo in the help for <Cmd> where lhs was used instead of rhs ( #14272 )
2021-04-01 21:50:02 -04:00