| Commit message (Collapse) | Author | Age |
... | |
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: The "last used" info of a buffer is under used.
Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used
field. (Andi Massimino, closes vim/vim#4722)
https://github.com/vim/vim/commit/52410575be50d5c40bbe6380159df48cfc382ceb
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Cannot filter :ls output for terminal buffers.
Solution: Add flags for terminal buffers. (Marcin Szamotulski, closes vim/vim#2751)
https://github.com/vim/vim/commit/0751f51a5b428805a8c1e9fe529693d032bec991
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: When updating viminfo with file marks there is no time order.
Solution: Remember the time when a buffer was last used, store marks for
the most recently used buffers.
https://github.com/vim/vim/commit/ab9c89b68dcbdb3fbda8c5a50dd90caca64f1bfd
As this is a viminfo fix, most of this is irrelevant - the patch has
just been brought across for the creation and updating of buffer's
`b_last_used` properties.
|
| | | |
| | | |
| | | | |
fix #12162
|
| |/ /
|/| |
| | | |
Messed this up in ef0398fe88e6cc74f33fb20519997774168d7832
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to the spec there is the possibility that when a
VersionedTextDocumentIdentifier is used in a TextEdit the value may be
null. Currently we don't check for this and always assume that it's set.
So currently if a TextEdit comes in for a rename for example with the
version null, it fails as we are comparing the bufnumber with nil.
https://microsoft.github.io/language-server-protocol/specification#versionedTextDocumentIdentifier
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Wrapping it in DCS allows the following features to work with GNU
Screen.
- Changing the cursor style.
- bracketed paste.
- focus reporting.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
...was using wrong macro argument.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
to ease up notations.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
TODO in a future commit:
- remains 2 instances of changed_lines that dont take into account
buffer
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The method with the name 'textDocument/peekDefinition' is not part of
the official language server protocol specification. Therefore no
language server can/will support this. Thereby all related code and
documentation as been removed.
|
| | | |
| | | |
| | | | |
fix #8075
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:8.2.{635,638}
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: MS-Windows: messages test fails.
Solution: Clear environment variables.
https://github.com/vim/vim/commit/47a1a8baf9c8eb22b24f667e57a1dab579999a74
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
color
Problem: When using 256 colors DarkYellow does not show expected color.
Solution: Use color 3 instead of 130. (Romain Lafourcade, closes vim/vim#5985)
https://github.com/vim/vim/commit/e93c968f520ee8d6bc29ccc6e18055ac65e832b3
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ref: a39c8b7ce30ddeed4329c28c42b1b699103dccab
ref: https://github.com/vim/vim/commit/bfe13ccc58ccb96f243a58309800410db1ccb52c
Also:
- Remove unused macos_rvm_dance() function. (It was there for reference,
but we have since resolved (or gave up) on Travis + macOS + ruby.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Expose `vim.lsp.buf.diagnostics_by_buf`
This makes it easier to customize the diagnostics behavior. For example
to defer the update they can override the
`textDocument/publishDiagnostics` callback to only call
`buf_diagnostics_save_positions` and then defer the other actions to a
autocmd event.
|
| | | |
| | | |
| | | |
| | | | |
When we save the buffer, the buffer is detached and attached again.
So the client also needs to remove the buffer version once.
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In contrast to other callbacks for LSP requests like
`textDocument/documentSymbols`, does the one for references not open the
quickfix window after the quickfix list was filled. This left the user
in a situation he don't know what or if something had happen.
Related to: neovim/neovim#12170
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Sometimes treesitter calls for an invalid column within a line, checking
that the column is actually valid and forcing the value avoids an
integer overflow and an infinite sequence of invalid reads.
Fixes #12131
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Improve error message for unsupported bash version, use double square bracket operator
Co-Authored-By: Daniel Hahler <github@thequod.de>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Offsets of window were not taken into account when sending mouse
coordinates to the terminal. Therefore, when nu or rnu is set, the mouse
coordinates sent to the terminal were not correct. Change it to send the
correct coordinates by subtract window offset from col.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There is ErrorCodes in the LSP specification, but in ResponseError.code
it is not used and the actual type is number.
Some language servers response original error cods and this is valid spec.
So we shouldn't assert even if the code does not exist in ErrorCodes.
ref: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#responseMessage
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition
Co-authored-by: Khangal Jargalsaikhan <khangal.j@irbis.sg>
|
| | | | |
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
uv_stream_get_write_queue_size isn't a define, it's a
function. It seems like this would always be shadowing the
actual function name.
|
|/ / / /
| | | |
| | | |
| | | | |
(found for example on openSUSE/Leap 15.*)
|
|\ \ \ \
| | | | |
| | | | | |
LSP/completion: add textEdit support
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
...ument_completion_list_to_complete_items
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
According to lsp specification, value of insertText should be ignored if
textEdit is provided.
|
| | | | |
| | | | |
| | | | | |
Fixes #11653, #11990. Check for cursor visibility to toggle uv_write call.
|
| |_|/ /
|/| | |
| | | | |
This function is also useful for users to create their own `textDocument/signatureHelp` callback function.
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
Change resolve() to resolve symbolic links on Windows
Neovim worked the same way as vim for shortcuts, but didn't handle symbolic links and junction cases. This PR implements the same behavior for symbolic links and junctions as for vim.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
InsertCharPre to CursolMovedI (#11954)
In the case of InsertCharPre, it is inconvenient because the signature help is displayed
when backspaced in insert mode, so change it to CursolMovedI.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Before this commit, the LSP client would throw errors when messages
without severity would be sent by the server. We make severity default
to `Error` as a kludge before proper heuristics to discover the severity
of a message are found.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[RFC] Update treesitter runtime
Get rid of our utf8proc dependency
Note that we unconditionnally escape treesitter queries, might need to be revisited.
|