| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
TODO in a future commit:
- remains 2 instances of changed_lines that dont take into account
buffer
|
|
|
|
|
|
|
|
| |
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.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Treesitter changed their decoders and apparently thus causing this
change.
This decoder change happened on
ee9a3c0ebb218990cf391ed987be7f2448c54a73.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Update treesitter vendor code to commit
35f82ce301951315e08de3b7e44a18c9170b28b8
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
vim-patch:8.2.{584,589}
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: .bsd file type not recognized.
Solution: Recognize .bsd as BSDL. (Daniel Kho, closes vim/vim#5945)
https://github.com/vim/vim/commit/0fc1288aefce25da0a2fb2a0aab75b0bd314403f
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Viminfo file uses obsolete function file_readable().
Solution: Use filereadable(). (closes vim/vim#5934)
https://github.com/vim/vim/commit/c5f33db888d14225e5a3851563c9a7fc0b5a5564
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Pass the window in which to create/delete folds instead of using the
global "curwin" (current window).
Preliminary work for a fold API.
TODO: I kept changed_lines prototype unchanged. This should be updated
when a fold API sees the light.
|
| | | |
| | | |
| | | | |
Updates remaining ~/.vim with ~/.config/nvim
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix #12122
>Error executing vim.schedule lua callback: /usr/local/share/nvim/runtime/lua/vim/lsp/util.lua:560: Expected lua string
Some lsp server(e.g. https://github.com/bash-lsp/bash-language-server) not have kind in reference, reference["kind"] is nil
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(#12124)
On some versions of Windows, WSL is unable to execute symbolic links to
Windows executables (microsoft/WSL#3999). As a workaround for that problem
this changes to use resolve() on WSL if win32yank was a symbolic link.
fixes #12113.
|
|\ \ \ \
| | | | |
| | | | | |
Closes #11998
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
gnu screen does not have smglr, but it inherits smglr from xterm and
splitting will cause drawing problems. So disable smglr.
|
|\ \ \ \ \ |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: :digraph! not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#5925)
https://github.com/vim/vim/commit/e3242346cf1c2ff8b0315cb2cb98e731bfa952c0
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
libnvim's OUTPUT_NAME was nvim, which caused the cmake Ninja generator
to generate two build rules for the library, which produced a warning
about incorrect builds.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[RDY]vim-patch:8.1.{1745,2147,2280,2282,},8.2.{41,134,365,366,381,387,389,397,398,406,415,457,464,473,474,507,544,549}
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: User systemd files not recognized.
Solution: Add filetype patterns. (Kevin Locke, closes vim/vim#5914)
https://github.com/vim/vim/commit/3b922f11380c7dbf94ee45bc09d688b772d9707f
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: Memory leak in search test.
Solution: Free msgbuf. (Dominique Pelle, closes vim/vim#5912)
https://github.com/vim/vim/commit/880e4d9117ea990e66d867aefad0f73ba89bda82
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
Solution: Check for empty name. (closes vim/vim#5878)
https://github.com/vim/vim/commit/5259275347667a90fb88d8ea74331f88ad68edfc
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: Variables declared in an outer scope.
Solution: Decleare variables only in the scope where they are used.
https://github.com/vim/vim/commit/8601545338581c01e328cdc3a72c0b12d92c54cf
|