| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Problem: inserting from the clipboard doesn't work literally
Solution: When pasting from the * or + register always assume literally.
https://github.com/vim/vim/commit/3324d0a86421a634572758dcfde917547f4d4c67
|
| |
|
| |
|
|
|
|
|
|
| |
Problem: A plugin cannot easily expand a command like done internally.
Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes vim/vim#4514)
https://github.com/vim/vim/commit/80dad48c5095d30873a42ec82628bdb213125d8e
|
|\ |
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: :echomsg and :echoerr do not handle List and Dict like :echo does.
(Daniel Hahler)
Solution: Be more tolerant about the expression result type.
https://github.com/vim/vim/commit/461a7fcfce3cd6414f990037e6468af3b5ccf119
Add lua functional tests for :echo,:echon,:echomsg,:echoerr
because nvim did not port "test_" functions from Vim
that modify internal state.
Testing :echoerr via try/catch is sufficient.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
tree-sitter/tree-sitter commit 6cb8d24de2d99c4c50c9a0fd1e719ca5b3abc87f
Included files are:
lib/include/tree-sitter/*.h
lib/src/*.[ch]
lib/src/unicode/*
LICENSE
|
|
|
| |
fixes #11893
|
|\
| |
| | |
Fix issues revealed by gcc10 setting -fno-common by default
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As gcc10 uses -fno-common by default, global variables declared with the
same name more than once is not allowed anymore revealing this issue.
We need to define it as extern to access it.
See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
|
| |
| |
| |
| |
| |
| |
| | |
gcc10 builds with -fno-common by default. This mean you can't define
a global variable with the same name twice.
See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of declaring an enum, this creates a global variable. As gcc10
uses -fno-common by default, global variables declared with the same
name more than once is not allowed anymore revealing this issue.
Each time this header is included, we define the enum name as a global
variable.
See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of declaring an enum, this creates a global variable. As gcc10
uses -fno-common by default, global variables declared with the same
name more than once is not allowed anymore revealing this issue.
Each time this header is included, we define the enum name as a global
variable.
See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of declaring an enum, this creates a global variable. As gcc10
uses -fno-common by default, global variables declared with the same
name more than once is not allowed anymore revealing this issue.
Each time this header is included, we define the enum name as a global
variable.
See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
|
|\ \
| |/
|/| |
clang/scan-build: restore required code
|
| |
| |
| |
| | |
ref: https://github.com/neovim/neovim/pull/11900#discussion_r381860165
|
|/
|
|
| |
We intentionally do not translate API errors.
ref: https://github.com/neovim/neovim/issues/6150
|
|
|
|
| |
close #11898
|
|
|
|
|
|
|
|
| |
Problem: char2nr() does not handle composing characters.
Solution: Add str2list() and list2str(). (Ozaki Kiichi, closes vim/vim#4190)
https://github.com/vim/vim/commit/9d40128afd7fcd038ff6532722b55b1a8c189ce8
'utf8' optional param is noop unlike Vim.
|
|
|
|
|
|
|
|
| |
Problem: Multibyte characters in 'listchars' don't work correctly if
'linebreak' is also enabled. (Martin Tournoij)
Solution: Make it work correctly. (Christian Brabandt, closes vim/vim#4822,
closes vim/vim#4812)
https://github.com/vim/vim/commit/69cbbecf548f390197259ca30cfe147c3e59ce5a
|
|
|
|
|
|
|
| |
Fix ex_vimgrep to properly ignore filetype when running vimgrep.
This restores vimgrep to behaviour before function refactoring.
fix #9842
fix #11856
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Move uv_stop(), it still causes a "leak" on exit somehow.
- Tenatively restore `UV_RUN_DEFAULT`. It shouldn't hang since we
clobber the handles via `uv_walk((h)=>uv_close(h))`. Although this
still "leaks" on exit, it's faster than the 2-second timeout.
fix #11820
fix #7376
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Call uv_stop().
- Restore `uv_loop_close` condition (braindead cosmetic change from
a2efc9cf8b0f that caused uv_loop_close *not* to be called if
wait=false, sorry).
Not doing `uv_walk(() => uv_close)`: see source comment for explanation.
fix #11820
fix #7376
Q: Should we restore use of `UV_RUN_DEFAULT`/`UV_RUN_ONCE` (removed in
a2efc9cf8b0f)?
A: The while-loop (hopefully) achieves the same purpose while avoiding
a hang.
|
|
|
|
|
| |
never UV_RUN_DEFAULT
ref #11820
ref #7376
|
|\
| |
| | |
vim-patch:8.0.1660,8.1.{43,786,1201,2129,2131,2187,2223,2259},8.2.{241,267}
|
| |
| |
| |
| |
| |
| |
| | |
Problem: No check for a following command when calling a function fails.
Solution: Also check for a following command when inside a try block.
(closes vim/vim#5642)
https://github.com/vim/vim/commit/e51bb17dd0d51384375830ee2a1df30c08121443
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: ++bad argument of :edit does not work properly.
Solution: Return FAIL from get_bad_opt() only when there is no valid
argument. (Dominique Pelle, Christian Brabandt, closes vim/vim#2966,
closes vim/vim#2947)
https://github.com/vim/vim/commit/7580849df9d6c7c515f5ed784019336d8a8ec0f0
|
| |
| |
| |
| |
| |
| | |
Problem: The terminal API "drop" command doesn't support options.
Solution: Implement the options.
https://github.com/vim/vim/commit/333b80acf3a44e462456e6d5730e47ffa449c83d
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Output of :command is hard to read.
Solution: Make some columns wider, some narrower. Truncate the command when
listing all.
https://github.com/vim/vim/commit/725310d89e1ba268bf410472b7de054c6c260161
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Error for bad regexp even though regexp is not used when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes vim/vim#5059)
https://github.com/vim/vim/commit/b40c2576d4e0e2dd2c580414c45947d88556d76d
|
| |
| |
| |
| |
| |
| | |
Problem: Crash when setting 'buftype' to "quickfix".
Solution: Check that error list is not NULL. (closes vim/vim#5613)
https://github.com/vim/vim/commit/99234f29aa8767f2e71bb1f5db6ee0131bc8e64e
|
| |
| |
| |
| |
| |
| | |
Problem: Cannot see what buffer an ml_get error is for.
Solution: Add the buffer number and name in the message
https://github.com/vim/vim/commit/cb86893114ce33dc9c7bd4ff992b05c12406b35d
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: ml_get error when updating the status line and a terminal had its
scrollback cleared. (Chris Patuzzo)
Solution: Check the cursor position when drawing the status line.
(closes vim/vim#3830)
https://github.com/vim/vim/commit/10772307c4e5299ed45470f92779f089a00d841e
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Running tests may leave XfakeHOME behind.
Solution: Source summarize.vim without using setup.vim. (closes vim/vim#5177)
Also fix that on MS-Windows the test log isn't echoed.
https://github.com/vim/vim/commit/7d2320414ffdd698c9a17d775f71e2c455c21624
|
| |
| |
| |
| |
| |
| | |
Problem: MSVC tests fail.
Solution: Replace backslashes with slashes.
https://github.com/vim/vim/commit/c25e702deec74771e49f6c2df4cda7a1f97d0c1e
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Using hard coded executable path in test.
Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James
McCoy, closes vim/vim#5025)
https://github.com/vim/vim/commit/1ac41a5c1352306942344777d2ba86dccd84ffad
|
|/ |
|
|
|
|
|
| |
would previously only work with ascii fillchars.
Added a test.
|
|
|
|
|
|
|
| |
Remove a dead assignment of the `ns_id` variable in the
`src/nvim/api/buffer.c` file.
Refer: https://neovim.io/doc/reports/clang/report-f279da.html#EndPath
|
|
|
|
|
| |
Import necessary part of vim-patch:8.1.1575.
https://github.com/vim/vim/commit/75a1a9415b9c207de5a29b25c0d1949c6c9c5c61
|
|
|
|
|
|
|
| |
Problem: MS-Windows: Cannot interrupt gdb when program is running.
Solution: Add debugbreak() and use it in the terminal debugger.
Respect 'modified' in a prompt buffer.
https://github.com/vim/vim/commit/4551c0a9fcdbdef52836d4852686d54b5e47fdaf
|
|
|
|
|
|
| |
Problem: Missing part of the changes for prompt_setinterrupt().
Solution: Add the missing changes.
https://github.com/vim/vim/commit/222cd20e2662e7478cfe42b78cc4f1c153ca819d
|
|
|
|
|
|
| |
Problem: Cannot handle pressing CTRL-C in a prompt buffer.
Solution: Add prompt_setinterrupt().
https://github.com/vim/vim/commit/0e5979a6d491f68c4a8c86fab489016919329a6b
|
|
|
|
|
|
|
|
|
|
| |
mouse
Problem: Not restoring Insert mode if leaving a prompt buffer by using a
mouse click.
Solution: Set b_prompt_insert appropriately. Also correct cursor position
when moving cursor to last line.
https://github.com/vim/vim/commit/891e1fd894720d0b99a9daefa41e8181844f819a
|
|
|
|
|
|
|
| |
Problem: BS in prompt buffer starts new line.
Solution: Do not allows BS over the prompt. Make term_sendkeys() handle
special keys. Add a test.
https://github.com/vim/vim/commit/6b810d92a9cd9378ab46ea0db07079cb789f9faa
|
|
|
|
|
|
| |
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
https://github.com/vim/vim/commit/f273245f6433d5d43a5671306b520a3230c35787
|
| |
|