| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| | |
Problem: No filetype override for .sys files.
Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes vim/vim#10181)
https://github.com/vim/vim/commit/f420ff2440a009acd9573fdb6ad6d53509d78009
|
|\ \
| |/
|/| |
vim-patch:8.2.{3416,3448,3470,3478,3480,3486,3487}
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Illegal memory access if buffer name is very long.
Solution: Make sure not to go over the end of the buffer.
https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b
Adjust the test to use :noswapfile, as Nvim fails to create the swap file on Windows due to the file
name's length (E303).
We don't have this behaviour on Linux as we get "[Permission denied]" from readfile(), so there is
no attempt to create the swap file. However, Vim doesn't try to create the swap file on Windows
either for a different reason: MAXPATHL in Vim for Windows is only 1024 (compared to Nvim's 4096 on
the Windows CI), so readfile() gives "Illegal file name" instead, thus not needing :noswapfile for
both cases.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Illegal memory access with invalid sequence of commands.
Solution: Do not call leave_block() when not in a try block. (closes vim/vim#8966)
Reset did_emsg so that exception is shown as an error.
https://github.com/vim/vim/commit/cce81e9673fe8d056e8eef310d9919620eccb2f2
Vim9script is N/A, which includes leave_block.
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Test does not fail without the fix for a crash.
Solution: Write the bad code in a file and source it. (Dominique Pellé,
closes vim/vim#8961)
https://github.com/vim/vim/commit/949de97da32d4fff28c569387e2ba8b3e311e64d
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Still crash with error in :catch and also in :finally.
Solution: Only call finish_exception() once. (closes vim/vim#8954)
https://github.com/vim/vim/commit/f67d3fb7363ebc9454f9bb582de3978609a4fd6b
Exclude CSF_FUNC_DEF change (Vim9script).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://github.com/vim/vim/commit/4197828dc666f2d258594f7f9461534d23cc50e4
Cherry-pick the changes to existing flags values.
Required for v8.2.3478.
That patch mostly relates to Vim9script, but I'm careful not to mark it N/A in
case the flags have some use outside of Vim9 in the future.
Excludes CSF_FUNC_DEF (flag introduced in v8.2.1870 for Vim9's block scopes).
|
| |
| |
| |
| |
| |
| | |
Problem: Crash with error in :catch and also in :finally.
Solution: Only discard an exception if there is one. (closes vim/vim#8954)
https://github.com/vim/vim/commit/a684a684096ecef3fbaee39c573b47423235d6b1
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: :endtry after function call that throws not found.
Solution: Do check for following :endtry if an exception is being thrown.
(closes vim/vim#8889)
https://github.com/vim/vim/commit/1d34189ecb99fa76363c06e1aa815c1075675a1c
Nvim obsoleted did_throw; check current_exception is not NULL instead.
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Second error is reported while exception is being thrown.
Solution: Do not check for trailing characters when already aborting.
(closes vim/vim#8842)
https://github.com/vim/vim/commit/36f691f5f1d0676f080cc97d697d742ed5cc8251
|
|\ \
| | |
| | | |
docs(lua): fix, clarify Lua require() docs
|
| | |
| | |
| | |
| | |
| | | |
Change docs to reflect recent changes to require() search order and add
info on `.` in module names and search order for shared library modules.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Corrects lua.txt help file to say that require() searches runtimepath
and loads the first module found, not the last.
Also adds additional clarification on require() and module search order.
Closes #15480
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Supercollider filetype not recognized.
Solution: Match file extentions and check file contents to detect
supercollider. (closes vim/vim#10142)
https://github.com/vim/vim/commit/8cac20ed42b7b7fc9c6b54e3055ca1047f50b8ca
|
| | |
| | |
| | | |
followup to #17905: also use Lisp syntax for treesitter queries
|
| |/
|/|
| |
| |
| | |
Skip runs of whitespace and do not include `\` characters when
followed by another `\` or whitespace. This matches the behavior
of <f-args> when used with `:command`.
|
| | |
|
|\ \
| | |
| | | |
test: unskip tests skipped in #14661
|
|/ / |
|
|\ \
| | |
| | | |
vim-patch:8.2.{3184,3226,3325}: digraph functions
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update runtime files.
https://github.com/vim/vim/commit/a2baa73d1d33014adea0fd9567949089ca21a782
This only includes changes to docs of digraph functions.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Digraph test fails when LC_ALL is set to "C".
Solution: When restoring 'encoding' set it to "utf-8". (closes vim/vim#8742)
https://github.com/vim/vim/commit/52eb372a04dfc5d5afef238c1b3c4a8e92020837
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: New digraph functions use old naming scheme.
Solution: Use the digraph_ prefix. (Hirohito Higashi, closes vim/vim#8580)
https://github.com/vim/vim/commit/29b857150c111a455f1a38a8f748243524f692e1
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot add a digraph with a leading space. It is not easy to list
existing digraphs.
Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
getdigraphlist(). (closes vim/vim#8580)
https://github.com/vim/vim/commit/6106504e9edc8500131f7a36e59bc146f90180fa
Use GA_APPEND_VIA_PTR in registerdigraph().
Use tv_list_append_*() in getdigraphlist_appendpair().
Put the error messages in digraph.c.
E196 is N/A.
Remove mentions about 'encoding' being non-Unicode.
Nvim doesn't support setting encoding=japan, so skip a test.
|
| |
| |
| |
| |
| |
| |
| |
| | |
(#18090)
Problem: Accessing freed memory after WinScrolled autocmd event.
Solution: Check the window pointer is still valid. (closes vim/vim#10156)
Remove the argument from may_trigger_winscrolled().
https://github.com/vim/vim/commit/d58862d18f091d3c14fa3647e724ef7eea1ecefa
|
|\ \
| | |
| | | |
vim-patch:8.2.4713: plugins cannot track text scrolling
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Problem: Plugins cannot track text scrolling.
Solution: Add the WinScrolled event. (closes vim/vim#10102)
https://github.com/vim/vim/commit/0937182d49fa8db50cec42785f22f1031760a0bd
Skip User event in autocmd.txt, not needed unless #10689 is reverted.
|
| | |
|
| |
| |
| |
| |
| | |
Problem: // in JavaScript string recognized as comment.
Solution: Only check for linecomment if 'cindent' is set. (closes vim/vim#10151)
https://github.com/vim/vim/commit/1655619717ff109ea8bf1002883636d5af345e48
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Removed NSIS installer.
- Prevents undefined behaviour when two installations are performed to the same directory (NSIS + MSI).
- Reduced cost of maintaining two installers that do the same thing.
- Chose Wix MSI due to its better integration with Windows.
- Added Wix patch file to add neovim binaries to the system path during installation.
- Replaced neovim installer icons with better looking versions.
- Renamed neovim installer icons from logo.ico -> neovim.ico for all
icons to better reflect contents.
|
| |
| |
| |
| |
| | |
Problem: getcharpos() may change a mark position.
Solution: Copy the mark position. (closes vim/vim#10148)
https://github.com/vim/vim/commit/3caf1cce2b85a8f24195d057f0ad63082543e99e
|
|\ \
| | |
| | | |
vim-patch:8.2.{4714,4733}
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: HEEx and Surface do need a separate filetype.
Solution: Revert 8.2.4729. (closes vim/vim#10147)
https://github.com/vim/vim/commit/4232dff815db1a727cb1aea26783267d8bd731c3
|
|/ /
| |
| |
| |
| |
| | |
Problem: Using g:filetype_dat and g:filetype_src not tested.
Solution: Add a test. (Patrick Meiser-Knosowski, closes vim/vim#10117)
https://github.com/vim/vim/commit/a8034a4886843fbf10bd59a6f55ec723da515b8e
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This makes v:event readonly in these four events:
- ChanInfo
- ChanOpen
- RecordingLeave
- TermClose
|
|\ \
| | |
| | | |
refactor!: Rename nvim_add_user_command to nvim_create_user_command
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This make Nvim recognize `ESC NUL` as <M-C-Space>, as many terminal
emulators (including libvterm) send <M-C-Space> as `ESC NUL`.
There is already another unambiguous way to encode a `ESC` key supported
by libtermkey: `ESC [ 2 7 u`, which is a `CSI u` sequence.
If one still wants to use `ESC NUL` as `ESC`, they can just map
<M-C-Space> to <Esc>.
|
|/ / |
|
| |
| |
| | |
closes #15411
|
| |
| |
| |
| | |
These comments were indented in Vim, but their indent was removed in
Nvim, causing them to be placed in a confusing place.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
filetype (#18065)
Problem: HEEx and Surface templates do not need a separate filetype.
Solution: Use Eelixir for the similar filetypes. (Aaron Tinio, closes vim/vim#10124)
https://github.com/vim/vim/commit/fa76a24109f3c3287e4ee17b6270bfd5310c12f3
|
|\ \
| | |
| | | |
vim-patch:8.2.{4723,4728}: the ModeChanged autocmd event is inefficient
|