| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
Problem:
Codebase inconsistently binds vim.api onto a or api.
Solution:
Use api everywhere. a as an identifier is too short to have at the
module level.
|
|\
| |
| | |
feat(api): evaluate 'statuscolumn' with nvim_eval_statusline()
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
vim.fs.find(".luacheckrc")
```
c:\\projects\\neovim/.luacheckrc # before
c:/projects/neovim/.luacheckrc # after
```
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
|
| |
|
|
|
|
|
|
| |
test: replace lfs with luv
luv already pretty much does everything lfs does, so this duplication
of dependencies isn't needed.
|
| |
|
|
|
|
|
|
| |
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Raphael <glephunter@gmail.com>
Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com>
Co-authored-by: himanoa <matsunoappy@gmail.com>
|
| |
|
| |
|
|
|
| |
use `treesitter.get_range` instead of inline expression
|
|
|
|
|
|
|
|
|
| |
Problem: .fs files are falsely recognized as forth files.
Solution: Check 100 lines for something that looks like forth. (Johan
Kotlinski, closes vim/vim#12219, closes vim/vim#11988)
https://github.com/vim/vim/commit/065088d5549e7711668321cc5a77c9a9b684b142
Co-authored-by: Johan Kotlinski <kotlinski@gmail.com>
|
|\
| |
| | |
fix(ui): ruler is not redrawn in cmdline with redrawstatus
|
| | |
|
|\ \
| | |
| | | |
refactor(lua): get all extmarks instead of iterating over namespaces
|
| |/
| |
| |
| |
| |
| | |
Inspector now also includes highlights set in anonymous namespaces.
Close #22732
|
|/ |
|
|\
| |
| | |
feat(extmarks): extend nvim_buf_get_extmarks()
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Can not get all extmarks in a buffer. Properties are missing
from the details array.
Solution: Allow getting all extmarks in a buffer by supplying a -1
"ns_id". Add missing properties to the details array.
|
|\ \
| | |
| | |
| | | |
build(deps): bump luv to HEAD
docs(luvref): update to version bump
|
| | | |
|
| | |
| | |
| | |
| | | |
Pass the value of the key being accessed to the create function, to
allow users to dynamically generate default values.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
remove self-injection for C preprocessor macros (can be very slow)
|
| | |
| | |
| | |
| | |
| | | |
Still relied on the old `@Foo`->`Foo` capture to highlight mechanism;
use capture with default highlight instead.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Whenever we run fs_stat() on a path, save this information in the loader
so it can be re-used.
- Loader.loadfile: Remove arguments `hash` as it is no longer needed.
- Loader.loader: Use _G.loadstring instead of Loader.load
This allows plugins to wrap loadstring to inspection and profiling
- factor out read file logic
|
| | |
| | |
| | |
| | |
| | | |
Problem: No way to get the actual highlight attributes for a linked
group through |nvim_get_hl()| (not the attributes from the link target).
Solution: Return the actual attributes as well as the link target name.
|
| | |
| | |
| | |
| | | |
LSP tags are added to the diagnostic as "tags" but referred to as "_tags"
in the diagnostic underline handler
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
The LSP spec supports two tags that can be added to diagnostics:
unnecessary and deprecated. Extend vim.diagnostic to be able to handle
these.
|
|\ \
| | |
| | | |
refactor(loader): changes
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Add options argument with an option to expand env vars
- Resolve '//' -> '/'
- Use in vim.loader
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Livebook files are not recognized.
Solution: Add a pattern for Livebook files. (Mathias Jean Johansen,
closes vim/vim#12203)
https://github.com/vim/vim/commit/64002035178ac3e0d9ab7269d1bf06c6ede5a854
Co-authored-by: Mathias Jean Johansen <mathias@mjj.io>
|
|/
|
|
|
|
|
|
|
|
| |
fix(api): use local LastSet structure in nvim_get_option_info
* nvim_get_option_info is deprecated.
It is always using the global LastSet information as reported in #15232.
* nvim_get_option_info2 is added.
The new function additionally accepts an 'opts' table {scope, buf, win}
allowing to specify the option scope and query local options from another
buffer or window.
|
|
|
| |
feat: new faster lua loader using byte-compilation
|
|
|
|
|
|
|
| |
Problem:
Using `meths.exec2("code", { output = true })` is too verbose.
Solution:
Use exec_capture() in more places.
|
|
|
|
|
|
|
| |
Problem:
The signature of nvim_exec() is not extensible per ":help api-contract".
Solution:
Introduce nvim_exec2() and deprecate nvim_exec().
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
LSP docs hover (textDocument/hover) doesn't handle HTML escape seqs in markdown.
Solution:
Convert common HTML escape seqs to a nicer form, to display in the float.
closees #22757
Signed-off-by: Kasama <robertoaall@gmail.com>
|
|
|
| |
Fixup to #21531.
|
| |
|