| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Lua patterns the hyphen works like a non-greedy version of Vim's `*`.
- Use `%-` when you need a literal hyphen.
- If you don't need a regular expression at all, use something like
```
string.find(text, pattern, 1, true)
```
so that the pattern is regarded as a plain, non-magical string.
See [1] and [2] in the Lua manual.
[1]: https://www.lua.org/manual/5.1/manual.html#pdf-Patterns
[2]: https://www.lua.org/manual/5.1/manual.html#pdf-string.find
|
|\
| |
| | |
runtime: propagate lua parsing errors while using "require"
|
| | |
|
|\ \
| |/
|/| |
fix(treesitter): don't throw an error for missing injected langs
|
| | |
|
|\ \
| | |
| | | |
fix(treesitter): incorrect method name call
|
| |/ |
|
|/
|
|
|
|
| |
When create tab, win_hide sent to new tab and new tab's previous tab.
So, if created tab that not next tab (eg. $tabnew cmd),
send win_hide to not current tab, and fixed this.
|
|\
| |
| | |
api: add option metadata
|
| | |
|
| | |
|
| |
| |
| | |
Allows users to associate the diagnostics with the right bufnr.
|
|/
|
|
| |
Server (#13175)
|
|\
| |
| | |
vim-patch:8.0.{858,953,1525}
|
| |
| |
| |
| |
| | |
User config may set $PS1 for a colored prompt.
It breaks the screen tests.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The following keeps happening in my local environment
because the timeout is too short.
[ FAILED ] test/functional/eval/timer_spec.lua @ 208: timers do not crash when processing events in the handler
test/functional/eval/timer_spec.lua:219: retry() attempts: 1
test/helpers.lua:73: Expected objects to be the same.
Passed in:
(number) 0
Expected:
(number) 1
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Using :wqa exits even if a job runs in a terminal window. (Jason
Felice)
Solution: Check if a terminal has a running job. (closes vim/vim#2654)
https://github.com/vim/vim/commit/7a76092a51fc5446426a4bfd9eb6503ec61bf9e9
|
|\ \
| | |
| | | |
add init.lua as an alternative user config
|
| | | |
|
| | | |
|
| |/ |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Opt in to this secret world using
set wildchar=0
" already the default, but remove if non-zero existing config:
set wildcharm=0
now you can map 'wildmode' just like any mode:
cnoremap <tab> <c-z>
function! Spacey()
return getcmdline()[-1:] == "/" ? "\<bs>" : ""
endfunc
cnoremap <expr> / wildmenumode() ? Spacey()."/<c-z>" : "/"
Possibly asked questions:
What about backwards compatibility?
====
Just do nothing and your existing 'wildchar' and 'wildcharm' will keep working.
Doesn't `<c-z>` mean suspend?
====
Not in cmdline mode. If it would then the recommended wildcharm would not
have been `<c-z>` to start with.
My config relies on `:<c-z>` being a synonym to `:<nop>`!
====
just no.
|
|
|
|
| |
the highlight was not used with spell enabled on folded lines.
Thanks to lervag for the nice report.
|
|
|
|
|
| |
I also added relevant tests.
Close #13369
|
|\
| |
| | |
feat(luahl): add priority mechanism
|
| |
| |
| |
| |
| | |
Base priority is 0x1000, in order to stay kinda backward compatible.
Also set tree-sitter default highlight to 100 (middle-ish value)
|
|\ \
| | |
| | | |
api: enable nvim_get_runtime_file to find subdirectories
|
| | | |
|
|\ \ \
| | | |
| | | | |
refactor: pass window to was_set_insecurely
|
| |/ /
| | |
| | |
| | |
| | | |
Partially addresses https://github.com/neovim/neovim/issues/12982. It's
more a quickfix while reworking folds.
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implement the LanguageTree structure to enable language injection.
This is done be removing the old Parser metatable and replacing by the
new structure, with the same API (almost).
Some noticeable differences :
- `parser:parse()` now returns a table of trees
- There is no incremental parsing for child (injected) languages
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
|
|/ |
|
|\
| |
| | |
vim-patch:8.1.{323,777,933,938},8.2.{178,248,547,581,592,646,658,793,1608,1975,1991,1992,1993,1994,1998,1999,2003,2007,2008,2009}
|
| |
| |
| |
| | |
TSAN kept failing and Appveyor sometimes fails on the same test.
|
|\ \
| |/
|/| |
allow nvim_set_hl to break existing links
|
| |
| |
| |
| | |
also add `default` flag to NOT break existing links/defs
|
| | |
|
| |
| |
| |
| |
| | |
Adjust the test for handle_background_color() according to
bd0275182b1c1b14c43dc4fc7e9f9da05071e56c.
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Closes #12037
|
|/
|
|
|
|
|
|
|
|
|
| |
Quoting the existing docs:
Packages are loaded. These are plugins, as above [&runtimepath], but
found in the "start" directory of each entry in 'packpath'. Every
plugin directory found is added in 'runtimepath' and then the plugins
are sourced.
Also tj didn't think I could do it.
|
| |
|
|\
| |
| | |
vim-patch:8.2.{1979,1981,1982,1985,1987}
|
| |
| |
| |
| |
| | |
"has_mbyte" always evaluates to "true".
Continue dead code removal, started in https://github.com/neovim/neovim/pull/13275.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lsp: Remove duplicate `diagnostics` fallback in diagnostic.display
* lsp: Expose all diagnostics
Before the changes in #12655 it was possible to retrieve all diagnostics
via `vim.lsp.util.diagnostics_by_buf`.
This adds a `diagnostic.get_all()` to enable users to retrieve all
diagnostics.
Use cases for that could include loading all diagnostics into the
quickfix list, or to build an enhanced goto_next that can move across
buffers.
|
|\
| |
| | |
ui: fix problem with the popupmenu when rightleft is set
|
| |
| |
| |
| | |
fixes #12032
|
|\ \ |
|
| | | |
|