| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Cherry-pick Test_call() and Test_cindent_func().
Required for v8.1.1911 and v8.1.1915.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
v8.1.0736 made some changes for making some emsgs more specific.
Includes the change for Test_lambda_fails() in test_lambda.vim.
Adjust relevant functionaltests to expect the new emsgs.
This patch has been fully ported in my Blob port PR, but it hasn't been
merged yet, so just use what we need from it for now.
Required for v8.1.1821.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem:
"set filetype=man" assumes the user wants :Man features, this does extra
stuff like renaming the buffer as "man://".
Solution:
- old entrypoint was ":set filetype=man", but this is too presumptuous #15487
- make the entrypoints more explicit:
1. when the ":Man" command is run
2. when a "man://" buffer is opened
- remove the tricky b:man_sect checks in ftplugin/man.vim and syntax/man.vim
- MANPAGER is supported via ":Man!", as documented.
fixes #15487
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Buffer overflow when completing long tag name.
Solution: Allocate the buffer dynamically. (Gregory Anders, closes vim/vim#8769)
https://github.com/vim/vim/commit/489d60996deb5e7c1a3b4633412d54632e6def42
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Send correct byte updates on visual paste
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
One step further towards stable tree-sitter.
Co-authored-by: Björn Linse <bjorn.linse@gmail.com>
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
feat(ts): add query module in treesitter keys
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Declaration, type-definition, and implementation capabilities were
previously disabled if the client received table output from the server
capabilities. The workDoneProgress capability is sent for many servers
for all supported capabilities as part of this table. Default to setting
capability to table instead of false.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Update Scala syntax file
https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404
|
| |/ / / /
| | | |
| | | | |
A step towards reproducible builds.
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
feat(treesitter): add next, prev sibling method
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add tsnode methods to change to the next, previous, named or unnamed
nodes.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | | |
Fix #15313
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Structurizr files are not recognized.
Solution: Recognize the file by contents. (Bastian Venthur, closes vim/vim#8764)
https://github.com/vim/vim/commit/dea561111a5761bf99397a246b8baa43e73288de
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The official developer documentation in in :h dev-lua-doc specifies to
use "--@" for special/magic tokens. However, this format is not
consistent with EmmyLua notation (used by some Lua language servers) nor
with the C version of the magic docstring tokens which use three comment
characters.
Further, the code base is currently split between usage of "--@",
"---@", and "--- @". In an effort to remain consistent, change all Lua
magic tokens to use "---@" and update the developer documentation
accordingly.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
refactor(map): remove extra-allocating map_new/map_free functions
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Note: the reason for removing them is not that there after this refactor
is no use of them, but rather that having them available is an
anti-pattern: they manange an _extra_ heap allocation which has
nothing to do with the functionality of the map itself (khash
manages the real buffers internally). In case there happens to
be a reason to allocate the map structure itself later, this
should be made explicit using xcalloc/xfree calls.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | | |
... to prevent bots from overwriting it
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
perf(map): get rid of unnecessary pointer indirections for maps.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
These things are just maps to pointers, no need to perform
a huge song and dance around it.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
the only field of Map(...) was a pointer to a khash_t. make it contain
the struct by value instead.
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* feat(api): add lua C bindings for xdiff
* chore: opt.hunk_lines -> opt.result_type
opt.on_hunk now takes precedence over opt.result_type
* chore: fix indents
Fix indents
* chore: change how priv is managed
Assign priv NULL and unconditionally apply XFREE_CLEAR to it when
finished.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- update ":help 'hidden'" #15410
- update ":help K" #15398
- try to capture some of the debug steps from #12036 (bpftrace, USDT probes)
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Open external 'keywordprg' commands in a :terminal in a new tab. <Esc> is
mapped to stop the job and close the buffer.
Closes #2995
Closes #2761
|
| | | | | |
| | | | |
| | | | | |
Closes #4713
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
fix: only source package ftdetect files once
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ftdetect files in start packages are sourced once from the :runtime
command in filetype.vim and once when packages are loaded. Change the
package loading logic to only source ftdetect files for opt packages to
avoid this duplication.
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: marvim <marvim@users.noreply.github.com>
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
perf(treesitter): avoid string lookup of highlight name in hot loop
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
These numbers are guaranteed to be stable even if you do "highlight
clear" (all attributes disappear, but not the id to name mapping itself)
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
According to the protocol definition `rootPath`, `rootUri` and
`workspaceFolders` are allowed to be null.
Some language servers utilize this to provide "single file" support.
If all three are null, they don't attempt to index a directory but
instead only provide capabilities for a single file.
|
| |/ / / / / |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
feat(highlights): some improvements and perf fixes
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
syn_name2id and syn_check_group go brr.
Note: this has impact mostly when using multiple filetypes,
as the old syn_name2id was optimized to return latest
added groups quickly (which will be the latest filetype)
|
| | | | | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
ref #6289
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
refactor: replace TRUE/FALSE with true/false
|