| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
TODO in a future commit:
- remains 2 instances of changed_lines that dont take into account
buffer
|
|
|
|
|
|
|
| |
Sometimes treesitter calls for an invalid column within a line, checking
that the column is actually valid and forcing the value avoids an
integer overflow and an infinite sequence of invalid reads.
Fixes #12131
|
|
|
|
|
|
| |
Offsets of window were not taken into account when sending mouse
coordinates to the terminal. Therefore, when nu or rnu is set, the mouse
coordinates sent to the terminal were not correct. Change it to send the
correct coordinates by subtract window offset from col.
|
|
|
|
|
|
| |
uv_stream_get_write_queue_size isn't a define, it's a
function. It seems like this would always be shadowing the
actual function name.
|
|
|
|
| |
(found for example on openSUSE/Leap 15.*)
|
|
|
| |
Fixes #11653, #11990. Check for cursor visibility to toggle uv_write call.
|
|\
| |
| |
| | |
Change resolve() to resolve symbolic links on Windows
Neovim worked the same way as vim for shortcuts, but didn't handle symbolic links and junction cases. This PR implements the same behavior for symbolic links and junctions as for vim.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
[RFC] Update treesitter runtime
Get rid of our utf8proc dependency
Note that we unconditionnally escape treesitter queries, might need to be revisited.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Update treesitter vendor code to commit
35f82ce301951315e08de3b7e44a18c9170b28b8
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: .bsd file type not recognized.
Solution: Recognize .bsd as BSDL. (Daniel Kho, closes vim/vim#5945)
https://github.com/vim/vim/commit/0fc1288aefce25da0a2fb2a0aab75b0bd314403f
|
|/ /
| |
| |
| |
| |
| | |
Problem: Viminfo file uses obsolete function file_readable().
Solution: Use filereadable(). (closes vim/vim#5934)
https://github.com/vim/vim/commit/c5f33db888d14225e5a3851563c9a7fc0b5a5564
|
| |
| |
| |
| |
| |
| |
| |
| | |
Pass the window in which to create/delete folds instead of using the
global "curwin" (current window).
Preliminary work for a fold API.
TODO: I kept changed_lines prototype unchanged. This should be updated
when a fold API sees the light.
|
|\ \
| | |
| | | |
Closes #11998
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
gnu screen does not have smglr, but it inherits smglr from xterm and
splitting will cause drawing problems. So disable smglr.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: :digraph! not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#5925)
https://github.com/vim/vim/commit/e3242346cf1c2ff8b0315cb2cb98e731bfa952c0
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
libnvim's OUTPUT_NAME was nvim, which caused the cmake Ninja generator
to generate two build rules for the library, which produced a warning
about incorrect builds.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: User systemd files not recognized.
Solution: Add filetype patterns. (Kevin Locke, closes vim/vim#5914)
https://github.com/vim/vim/commit/3b922f11380c7dbf94ee45bc09d688b772d9707f
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Memory leak in search test.
Solution: Free msgbuf. (Dominique Pelle, closes vim/vim#5912)
https://github.com/vim/vim/commit/880e4d9117ea990e66d867aefad0f73ba89bda82
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
Solution: Check for empty name. (closes vim/vim#5878)
https://github.com/vim/vim/commit/5259275347667a90fb88d8ea74331f88ad68edfc
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Variables declared in an outer scope.
Solution: Decleare variables only in the scope where they are used.
https://github.com/vim/vim/commit/8601545338581c01e328cdc3a72c0b12d92c54cf
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some map functionality not covered by tests.
Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#5504)
https://github.com/vim/vim/commit/8ba6bb7c94229f1e6f85ea5152ed8b4fbbbd9d20
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot use :write when using a plugin with BufWriteCmd.
Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes vim/vim#5807)
https://github.com/vim/vim/commit/0fff44152d06e6b662ad4bef172af07a041d2f3f
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing file to distribution.
https://github.com/vim/vim/commit/2d9d409ad4fab1ae7ceaecc0ef0e9b511d868374
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Test_quotestar() often fails when run under valgrind.
Solution: Wait longer for the GUI to start.
https://github.com/vim/vim/commit/26bde6e2eb307898ab7ed42bf8e7e2ccde979e02
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Compiler warning for unused argument.
Solution: Add UNUSED. Change comments to new style.
https://github.com/vim/vim/commit/1f164b19685d8ad709b11f3f1933685469251e30
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Bsdl filetype is not detected.
Solution: Add an entry in the filetype list. (Daniel Kho, closes vim/vim#5810)
https://github.com/vim/vim/commit/40d235e7305ce6ff696e8301c62a41f1f07f8aca
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: FileReadCmd event not well tested.
Solution: Add a test.
https://github.com/vim/vim/commit/e32848780cc07c368ba2e088cdefdbb8c3b827c2
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when passing many arguments through a partial. (Andy
Massimino)
Solution: Check the number of arguments. (closes vim/vim#5186)
https://github.com/vim/vim/commit/4c054e9fb23027b55a09ee647a3a2c91936aeb1b
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when passing partial to substitute().
Solution: Take extra arguments into account. (closes vim/vim#5186)
https://github.com/vim/vim/commit/b0745b221d284e381f1bd4b591cd68ea54b6a51d
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Profile test fails when two functions take same time.
Solution: Add a short sleep in once function. (closes vim/vim#5797)
https://github.com/vim/vim/commit/a21df1db3ca619afdcb47931af042508a6bbc8e5
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Delayed screen update when using undo from Insert mode.
Solution: Update w_topline and cursor shape before sleeping. (closes vim/vim#5790)
https://github.com/vim/vim/commit/5715b3147bfc8ddfe905339f6fd224fd3a5a3ba1
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Leaking memory when selecting spell suggestion.
Solution: Free previous value at the right time.
https://github.com/vim/vim/commit/6c52f8237199ea09abbecdc5b89847c5889c3de1
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when allocating memory fails. (Zu-Ming Jiang)
Solution: Check that 'spellcapcheck' is not NULL. (closes vim/vim#5048)
https://github.com/vim/vim/commit/53efb18530cc3940d7af2ea338947783ea5495ed
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Delayed redraw when shifting text from Insert mode.
Solution: Use msg_attr_keep() instead of msg(). (closes vim/vim#5782)
https://github.com/vim/vim/commit/e4fc746d13f5b6a0b5c3a8efdff7de1454c3297d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Error for possible NULL argument to qsort().
Solution: Don't call qsort() when there is nothing to sort. (Dominique
Pelle, closes vim/vim#5780)
https://github.com/vim/vim/commit/bb65a5690c24ccfce37e210316bf1d0964c91359
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
POC by Dominique Pelle)
Solution: Avoid deleting a dummy buffer used in a window. (closes vim/vim#5777)
https://github.com/vim/vim/commit/2573af3519ad062ddad647b97e32090f106f2ac1
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Tag kind can't be a multi-byte character. (Marcin Szamotulski)
Solution: Recognize multi-byte character. (closes vim/vim#5724)
https://github.com/vim/vim/commit/283e5f4e69b204e0eafd408548e69b7ca9b4871b
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Hardcopy command not tested enough.
Solution: Add tests for printing. (Dominique Pelle, closes vim/vim#5748)
https://github.com/vim/vim/commit/2e09634a7880f55a61cb6b959dd89c51972866af
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Compiler warning in tiny build.
Solution: Move declaration inside #ifdef. (Dominique Pelle, closes vim/vim#5915)
https://github.com/vim/vim/commit/2196bce56fcd56b0eaece50c079bac99f5bc31af
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Still some /* */ comments.
Solution: Convert to // comments.
https://github.com/vim/vim/commit/aa2f0ee639d3b59e4402261ebee27bf545a62d8b
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
https://github.com/vim/vim/commit/2ab2e8608f9b2c85432715bb9a7f226fdbf8cd35
|