| Commit message (Collapse) | Author | Age |
... | |
| | | |
| | | |
| | | |
| | | | |
Although 'nomodeline' is not strictly part of the definition of
a "scratch-buffer" it is obviously the right default.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Old behavior is: foo(${placeholder: bar, ...)
with lots of random garbage you'd never want inserted.
New behavior is: foo(bar, baz)
(which maybe is good, maybe is bad [depends on user], but definitely better than it was).
-----
* Implement rudimentary snippet parsing
Add support for parsing and discarding snippet tokens from the completion items.
Fixes #11982
* Enable snippet support
* Functional tests for snippet parsing
Add simplified real-world snippet text examples to the completion items
test
* Add a test for nested snippet tokens
* Remove TODO comment
* Return the unmodified item if the format is plain text
* Add a plain text completion item
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* add preview_location
* add doc stub
* doc style; return bufnr&winnr of preview
* doc: function may return nil
Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
* doc: fixup
Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* lsp.lua: make the error message more detailed
* test: add lsp._cmd_part test
|
|\ \ \ \
| | | | |
| | | | | |
[RDY] win/TUI: Use virtual terminal input if available
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
https://github.com/neovim/neovim/pull/11808
https://github.com/neovim/libuv/pull/12
v1.34.2
* darwin: stop calling SetApplicationIsDaemon() (Ben Noordhuis)
* osx,fsevent: fix race during uv_loop_close (Jameson Nash)
* unix: handle uv__open_cloexec return value correctly (Anna Henningsen)
v1.34.1
* unix: fix -Wstrict-aliasing compiler warning (Ben Noordhuis)
* unix: cache address of dlsym("mkostemp") (Ben Noordhuis)
* win,tty: avoid regressions in utf-8 handling (Jameson Nash)
* win: remove bad assert in uv_loop_close (Jameson Nash)
* tty,unix: avoid affecting controlling TTY (Jameson Nash)
v1.34.0
* unix: refactor uv__fs_copyfile() logic (cjihrig)
* fs: handle non-functional statx system call (Milad Farazmand)
* unix,win: add uv_sleep() (cjihrig)
* fs: add uv_fs_mkstemp (Saúl Ibarra Corretgé)
v1.33.0
* win: fix reading hidden env vars (Anna Henningsen)
* unix,win: add uv_random() (Ben Noordhuis)
* win, tty: fix problem of receiving unexpected SIGWINCH (erw7)
* fs: use statvfs in uv__fs_statfs() for Haiku (Calvin Hill)
* fsevents: stop using fsevents to watch files (Jameson Nash)
* win,tty: add uv_tty_{get,set}_vterm_state (erw7)
* unix: update uv_fs_copyfile() fallback logic (Stefan Bender)
* win: cast setsockopt struct to const char* (Shelley Vohr)
* unix: fix {Net,Open}BSD build
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
fixes #9514
fixes #11773
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:8.1.{475,800,868,1007,1027,1031,1033,1037,1058,1435,1484,1485}
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Double free when garbage_collect() is used in autocommand.
Solution: Have garbage collection also set the copyID in funccal_stack.
https://github.com/vim/vim/commit/c07f67ad0e9c48a07d49f2d67eb63e183a22386a
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Some tests are slow.
Solution: Add timing to the test messages. Fix double free when quitting in
VimLeavePre autocmd.
https://github.com/vim/vim/commit/75ee544f99ca66be8105570c6309d95435ad30d1
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Memory usage test is a bit too flaky.
Solution: Adjust the tolerances a bit. (Christian Brabandt)
https://github.com/vim/vim/commit/5d508dd39e810d446f29dfd4f4e745b802875001
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Memory usage test may still fail on some systems.
Solution: Use 98% of the lower limit. (Christian Brabandt)
https://github.com/vim/vim/commit/3a731ee0c2dd34792c1b21fc4c699a84129f1b86
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Memory usage test may still fail on some systems.
Solution: Increase tolerance from 3% to 20%.
https://github.com/vim/vim/commit/6b6f7aae4a3329d685e512699287605540257b40
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Memory usage test may still fail on some systems. (Elimar
Riesebieter)
Solution: Increase tolerance from 1% to 3%.
https://github.com/vim/vim/commit/ba64ba093520e85d6bed2595960edb693bdb4c51
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Memory usage test may still fail.
Solution: Drop the unused min value. (Christian Brabandt)
https://github.com/vim/vim/commit/f7e47af7760fe054cb645dac9a1e96b23c85804d
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Memory usage test sometimes fails.
Solution: Use 80% of before.last as the lower limit. (Christian Brabandt)
https://github.com/vim/vim/commit/08cda65ddfbb4bce8cef43726a0c00817fc47327
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Using closure may consume a lot of memory.
Solution: unreference items that are no longer needed. Add a test. (Ozaki
Kiichi, closes vim/vim#3961)
https://github.com/vim/vim/commit/209b8e3e3bf7a4a3d102134124120f6c7f57d560
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Memory not freed on exit when quit in autocmd.
Solution: Remember funccal stack when executing autocmd.
https://github.com/vim/vim/commit/27e80c885bcb5c5cf6a6462d71d6c81b06ba2451
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It's confusing because vim-lsp already has the same name as the plugin name that predates this built-in lsp.
Also, since "vim.fn.stdpath" is used, adding the prefix "nvim-" is redundant, so just "lsp.log" will suffice.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Terminal debugger: can't re-open source code window.
Solution: Add the :Source command. Also create the window if needed when
gdb stops at a source line.
https://github.com/vim/vim/commit/c4b533e1e93151658cb170c6796d327a8c0f8612
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Cannot get the Vim command line arguments.
Solution: Add v:argv. (Dmitri Vereshchagin, closes vim/vim#1322)
https://github.com/vim/vim/commit/69bf634858a2a75f2984e42b1e4017bc529a040a
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
vim-patch:8.1.2228,8.2.{36,37,766,810}
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Error when appending "tagfile" to 'wildoptions'.
Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
closes vim/vim#6105)
https://github.com/vim/vim/commit/2e61e2d08390623fcf933fd06646ac91f81fb772
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Missing renamed message.
Solution: Now really add the error number.
https://github.com/vim/vim/commit/1500a42c42b26cb63659d90883f7a438895cd273
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Not enough test coverage for match functions.
Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#5394)
Add error number.
https://github.com/vim/vim/commit/49d68bf5e4d9306269b141f0576bbf44631f4ff0
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: screenpos() returns wrong values when 'number' is set. (Ben
Jackson)
Solution: Compare the column with the window width. (closes vim/vim#5133)
https://github.com/vim/vim/commit/38ba4dce4a8574e60f6ddb111922880b0c7affdc
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Display error when using 'number' and 'breakindent'.
Solution: Adjust extra spaces in the first row. (Ken Takata, closes vim/vim#6089,
closes vim/vim#5986)
https://github.com/vim/vim/commit/e882f7a73c8fa48707de71035eb0a7ccc6ac8548
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
The `:lcd -` command, and `:tcd -` which returns to a previous directory, can be done with `:lc -` and `:tc -` respectively.
Basically, the d is optional, so I updated the documentation to indicate this in the traditional format.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Change uri_to_fname to not convert non-file URIs
A URI with a scheme other than file doesn't have a local file path.
* fixup! Change uri_to_fname to not convert non-file URIs
* fixup! fixup! Change uri_to_fname to not convert non-file URIs
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The callbacks for `textDocument/documentSymbol` and `workspace/symbol`
never received the `bufnr` argument because the logic that adds error
validation and logging swallowed the argument.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* fixed hang issue with --headless and -r option specified
Calling the do_more_prompt function in headless mode will freeze neovim because it is eventally in the input-accepting state (the same as waiting for --more--).
* fixed "Press ENTER or type command to continue" to be suppressed
If in headless mode, we need to exit at this point. If we continue, we will enter the normal mode and the message "Press ENTER or type command to continue" will be displayed and we will be in the input waiting state.
* fixed functional ex_cmds tests
* Revert "fixed "Press ENTER or type command to continue" to be suppressed"
This reverts commit a02dc40e3b3fad69cedcde6abe1bd4efe39ab102.
* Revert "fixed functional ex_cmds tests"
This reverts commit 3bdb8da20acf34673b2c2028d15e7ce6da4c792a.
* fixed conditional again
* added test for fixed hang issue with --headless (#11386)
|
| |_|/
|/| |
| | |
| | | |
3.9's scheduled for beta release today.
https://www.python.org/dev/peps/pep-0596/
|
|\ \ \ |
|
| | | | |
|
|/ / / |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* add lua function to highlight yanked region
* extract namespace, better naming, default values
* add default for event argument
* free timer
* factor out mark to position calculation
* d'oh
* make sure timer stops before callback (cf. luv example)
* factor out timer, more documentation
* fixup
* validate function argument for schedule
* fix block selection past eol
* correct handling of multibyte characters
* move arguments around, some cleanup
* move utility functions to vim.lua
* use anonymous namespaces, avoid local api
* rename function
* add test for schedule_fn
* fix indent
* turn hl-yank into proper (hightlight) module
* factor out position-to-region function
mark extraction now part of highlight.on_yank
* rename schedule_fn to defer_fn
* add test for vim.region
* todo: handle double-width characters
* remove debug printout
* do not shadow arguments
* defer also callable table
* whitespace change
* move highlight to vim/highlight.lua
* add documentation
* add @return documentation
* test: add check before vim.defer fires
* doc: fixup
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* doc: Add info about vim dicts in lua
* doc: preamble and info
* doc: remove weird spacing
* fixup
|
| | |
|
| |
| |
| |
| |
| |
| | |
If the LSP sends an end line that is larger than what nvim considers to be the
last line, you get an Index out of bounds error when fetching the line from
nvim, a change that was introduced in #12223. This change removes the strict
indexing and checks the return value from nvim_buf_get_lines.
|
| | |
|
| |
| |
| | |
really use win and not curwin
|
| |
| |
| |
| |
| |
| | |
Problem: Cannot delete a match from another window. (Paul Jolly)
Solution: Add window ID argument to matchdelete(), clearmatches(),
getmatches() and setmatches(). (Andy Massimino, closes vim/vim#4178)
https://github.com/vim/vim/commit/aff749145e23c0f20b5158d1d3a942948ed138e3
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| | |
At least the `gopls` language server seems to return nil/null if no code
actions are available. Currently this results in an error:
> Error executing vim.schedule lua callback: shared.lua:199: Expected table, got nil
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add textDocument/codeAction
* Add callback for workspace/executeCommand
* Escape newlines in codeAction titles
* Return empty list in get_line_diagnostics if no buffer diagnostics
* Add stub documentation
* Validate context parameter in code_action
* Add support for edit in CodeAction responses
* Group diagnostics by line in vim.lsp.util.get_line_diagnostics()
* Advertise code action literal support
|
|\ \ |
|
| | | |
|