| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
When combining attributes use the one that takes priority.
For :highlight command use the last one specified.
For API use a hard-coded order same as the order in docs.
|
|\
| |
| | |
feat(lua): make sure require'bit' always works, even on PUC LUA 5.1
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
close #21063
|
| |
| |
| |
| |
| | |
close #18741
close #11312
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
This function replaces both vim.treesitter.get_node_at_pos() and
vim.treesitter.get_node_at_cursor(). These two functions are similar
enough that they don't need separate interfaces. Even worse,
get_node_at_pos() returns a TSNode while get_node_at_cursor() returns a
string, so the two functions behave slightly differently.
vim.treesitter.get_node() combines these two into a more streamlined
interface. With no arguments, it returns the node under the cursor in
the current buffer. Optionally, it can accept a buffer number or a
position to get the node at a given position in a given buffer.
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Yuck files are not recognized.
Solution: Add a filetype pattern for yuck files. (Amaan Qureshi,
closes vim/vim#12033)
https://github.com/vim/vim/commit/cfce5cf542db20c7beba5b4211c0ae3305a64a43
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
|
|
|
|
|
| |
Tests are flaky, and a failure doesn't necessarily impart useful
information. Furthermore, we don't need to link to the tests as it's
just as easy to reach it from the Actions tab.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
vim.treesitter does not know how to map a specific filetype to a parser.
This creates problems since in a few places (including in vim.treesitter itself), the filetype is incorrectly used in place of lang.
Solution:
Add an API to enable this:
- Add vim.treesitter.language.add() as a replacement for vim.treesitter.language.require_language().
- Optional arguments are now passed via an opts table.
- Also takes a filetype (or list of filetypes) so we can keep track of what filetypes are associated with which langs.
- Deprecated vim.treesitter.language.require_language().
- Add vim.treesitter.language.get_lang() which returns the associated lang for a given filetype.
- Add vim.treesitter.language.register() to associate filetypes to a lang without loading the parser.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update runtime files.
https://github.com/vim/vim/commit/938ae280c79b8cdb0fca60336ec4c090ecd8bb5a
Partially skip autocmd.txt: needs patch 8.2.5011.
Partially skip builtin.txt: needs patch 9.0.0411.
Partially skip eval.txt: needs patch 8.2.3783.
Cherry-pick :map-meta-keys from patch 9.0.1276.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
| |
|
| |
|
|
|
|
| |
Notable changes are performance increases for fetching repositories and
simpler workflow file.
|
| |
|
| |
|
|
|
| |
This will ensure we don't accidentally have outdated actions.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
window (#22346)
Problem: Crash when using buffer-local user command in cmdline window.
(Karl Yngve Lervåg)
Solution: Use the right buffer to find the user command. (closes vim/vim#12030,
closes vim/vim#12029)
https://github.com/vim/vim/commit/b444ee761a2956a996a75d923281c51fa1a759f3
|
|
|
|
|
|
|
|
|
|
| |
(#22343)
Problem: Illegal memory access when using :ball in Visual mode.
Solution: Stop Visual mode when using :ball. (Pavel Mayorov, closes vim/vim#11923)
https://github.com/vim/vim/commit/e1121b139480f53d1b06f84f3e4574048108fa0b
Co-authored-by: Pavel Mayorov <pmayorov@cloudlinux.com>
|
|
|
| |
When use_builtin_ui is true, Nvim will exit before line 385 is reached.
|
|
|
| |
Co-authored-by: Ben Morgan <cassava@iexu.de>
|
|
|
|
|
|
| |
Problem: Completion of map includes simplified ones.
Solution: Do not complete simplified mappings. (closes vim/vim#12013)
https://github.com/vim/vim/commit/997b8a015cd39141866e953651d55c705275cbd6
|
| |
|
|
|
|
|
|
|
| |
Previously, all targets were connected in one main target called
third-party in order to remove any potentially conflicting shared
library. We can make each dependency target independent of each other by
only removing shared libraries from luajit and msgpack in their own
targets, as only these has unwanted shared libraries.
|
| |
|
|
|
|
|
|
| |
After #21831 `in_fd` is no longer set to stderr when starting TUI, so
check for `stdin_isatty` instead.
Fix #22259.
|
|
|
|
| |
This commit fixes an assertion failure on windows debug builds that was
introduced in https://github.com/neovim/neovim/pull/22128 .
|
|
|
|
|
|
|
|
|
| |
(#22320)
Problem: "gj" and "gk" do not move correctly over a closed fold.
Solution: Use the same code as used for "j"/"k" to go to the next/previous
line. (Luuk van Baal, closes vim/vim#12007)
https://github.com/vim/vim/commit/441a7a94482f704b66253b8d08130f27b6b13736
|
|
|
|
|
|
|
|
|
| |
Problem: PRQL files are not recognized.
Solution: Add a filetype pattern for PRQL files. (Matthias Queitsch,
closes vim/vim#12018)
https://github.com/vim/vim/commit/9de960ace0f017fcfeaf64a2f6492f0f88b11fdb
Co-authored-by: Matthias Queitsch <matthias.queitsch@mailbox.org>
|
| |
|
|
|
|
| |
The :version output is already crowded as is, the last thing we need is
extraneous messages about who compiled it.
|
|
|
| |
Neovim doesn not have any optional features.
|
|
|
|
|
|
|
| |
Having to specify CI_BUILD for every CI job requires boilerplate. More
importantly, it's easy to forget to enable CI_BUILD, as seen by
8a20f9f98a90a7a43aea08fcde2c40a5356b4f7b. It's simpler to remember to
turn CI_BUILD off when a job errors instead of remembering that every
new job should have CI_BUILD on.
|
|
|
|
|
|
| |
Multi-config generators can be tricky so testing them would be good.
Also test GCC release and MinSizeRel build types as they're prone to
unusual warnings. Remove release testing from test.yml as this is a
sufficient replacement.
|
|
|
|
| |
Use test.yml and link to that workflow, as build.yml is mostly
only for checking CMake files.
|
|
|
|
|
| |
Having a workflow that only builds neovim without running all of the
tests is a cheap way to test the build still works without burning too
much CI time.
|
| |
|
|\
| |
| | |
Fix some mistakes and warnings in tests
|
| |
| |
| |
| | |
This avoids changing cmdline and fixes a warning.
|
|/
|
|
| |
Include the rest of the line and allow multiple {MATCH:} patterns.
|
|\
| |
| | |
vim-patch:9.0.1315: escaping for completion of map command not properly tested
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Escaping for completion of map command not properly tested.
Solution: Add a few test cases. (closes vim/vim#12009)
https://github.com/vim/vim/commit/c3a26c6bff666a368b0a22d35d2e00aa62770f8c
|
| | |
|
|/
|
|
|
|
|
|
|
| |
libtool, autoconf, automake and perl are no longer dependencies of
neovim and doesn't need to be installed in CI anymore. The dependencies
and the commit that removed them as dependencies are the following:
libtool: b05100a9eaad5980ea7652137bc4a1c2d15d752f
perl: 20a932cb72cf077d54e3498ef93341ffe3d4cdbb
autoconf+automake: e23c5fda0a3fe385af615372c474d4dad3b74464
|