| Commit message (Collapse) | Author | Age |
... | |
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
* update lua documentation
* run docgen
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `workspace/configuration` handler could fail with the following
error if `config.settings` is nil:
runtime/lua/vim/lsp/util.lua:1432: attempt to index local 'settings' (a nil value)"
This ensures that `config.settings` is always initialized to an empty
table.
|
| |/ /
|/| |
| | | |
Set release date based on commit ee77d8665ffe327a2158354021bbbcb772b3521a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add in clienInfo to initalize_params.
Some servers (like Metals in my case) will actually pull this
info from the initalize_params and display it in the logs. I
know from the server perspective it helps at times to have this
available to pull from to have more details about the client and
version. You can see that this is part of the spec here:
microsoft.github.io/language-server-protocol/specification#initialize
|
| | |
| | |
| | | |
Until we support dynamicRegistration, we should handle the client/registerCapability in core. There are still some language servers that send this request despite dynamicRegistration not being registered client-side (we got an upstream fix for the node ones, but this depends on them bumping vscode-languageserver-node).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
retrun a structured version dict
:lua print(vim.inspect(vim.version()))
{
api_compatible = 0,
api_level = 7,
api_prerelease = true,
major = 0,
minor = 5,
patch = 0
}
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When using ":sleep" the cursor is always displayed.
Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
closes vim/vim#7688)
https://github.com/vim/vim/commit/e2edc2ed4a9a229870b1e1811b0ecf045b84e429
Cursor showing/hiding is moved from core to TUI.
":sleep!" behaves the same as ":sleep".
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Spartql files are not detected.
Solution: Add the sparql filetype. (closes vim/vim#7679)
https://github.com/vim/vim/commit/17d015b2438e51d4d42d72720611d16c772cc4bb
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
vim-patch:8.2.{2329,2334}
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Pascal-like filetypes not always detected.
Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
closes vim/vim#7662)
https://github.com/vim/vim/commit/a0122dcd1cc9e9bb62c071a9b91426a8bce4f8d9
|
| | |
| | |
| | |
| | |
| | | |
Fixes an issue that tree-sitter always attached to the current buffer,
instead of the provided buffer.
|
|/ /
| |
| |
| |
| | |
while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.
|
| |
| |
| | |
* trim trailing whitespace from docs
|
| |
| |
| | |
and adjust sumneko setup instructions
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lsp: Add severity_limit for other diagnostics
* docs and tests
* fix: lint
* Add to other types
* fix: lint
|
| |
| |
| |
| |
| |
| |
| | |
* fix: Allow subsequent text document edits to pass
* fixup: cleaner code
* add tests
|
|\ \
| | |
| | | |
[RDY] man.vim: Set iskeyword explicitly.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This also fixes `:Man!`, which wasn't setting 'iskeyword' to contain
parentheses, etc.
|
| | |
| | |
| | |
| | |
| | | |
Port ftplugin, syntax and indent Elm files.
Ref: #13193
|
|\ \ \
| |_|/
|/| | |
vim-patch:8.1.{1731,1764,2111,2126},8.2.{50,590}
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No 'backspace' value allows ignoring the insertion point.
Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes vim/vim#5940)
https://github.com/vim/vim/commit/aa0489e12d227d24752cf16e4e97058ac32edcc1
|
|/ /
| |
| | |
pyright (possibly others) does not send any hint diagnostics if we do not have tagSupport in PublishDiagnosticsClientCapabilities. This PR just adds them.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Only the plugin/package manager should "manage" after/. Consumers of
nvim_get_runtime_file() should not need to special case it (if your plugin
manager is broken then fix it instead).
Don't use vim.fn.readfile(). Lua can already read files. It is even
better at it than vim script.
expose M.get_query_files(). Listing the queries is essential for user
config debug, and let plugins do fun things with it.
Abstraction-by-obscurity is not useful (plugins can just cargo cult copy
the code anyway, better with public entry points).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot easily get all the current marks.
Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
https://github.com/vim/vim/commit/cfb4b47de08e4437c692d382067dc1692cd83c23
Cherry-pick the column number fix from patch v8.2.0871
because patch v8.2.0871 cannot be fully ported
without the method patches.
Co-authored-by: Peter Wolf <pwolf2310@gmail.com>
|
| |
| |
| |
| |
| | |
* LSP: fix window/showMessageRequest to not return nested title
* Add window/showMessageRequest handler to docs
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Quickfix entries do not suport a "note" type.
Solution: Add support for "note". (partly by Yegappan Lakshmanan,
closes vim/vim#5527, closes vim/vim#6216)
https://github.com/vim/vim/commit/e928366de5deca359fad779a4f740db703296302
|
|\ \
| | |
| | | |
LSP: Move workspace/configuration from nvim-lspconfig to core
|
| | | |
|
| | |
| | |
| | |
| | | |
nvim-lspconfig
|
| | |
| | |
| | | |
Change the update of the client.messages.progress table to overwrite only the percentage and message properties on $report, Previously we were overwriting the table which meant client.messages.progress[token].message.title was wiped on report.
|
|\ \ \
| | | |
| | | | |
vim-patch:8.1.{1241,1261,1275,1281,1549,1590,1881,2079,2322,2360,2411},8.2.{113,388,934,2255,2258,2260,2269}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Not all OCaml related files are detected.
Solution: Update OCaml file type detection. (Markus Mottl, closes vim/vim#7590)
https://github.com/vim/vim/commit/beef4eeda5c6865fcfe46db43ae71429a2025b58
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Cannot specify a count with :chistory.
Solution: Add a count to :chistory and :lhistory. (Yegappan Lakshmanan,
closes vim/vim#4344)
https://github.com/vim/vim/commit/8ffc7c8b5f004971cb6f2bdcfbe4f7123cce717c
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Cannot navigate to errors before/after the cursor.
Solution: Add the :cbefore and :cafter commands. (Yegappan Lakshmanan,
closes vim/vim#4340)
https://github.com/vim/vim/commit/cf6a55c4b0cbf38b0c3fbed5ffd9a3fd0d2ede0e
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No error for quickfix commands with negative range.
Solution: Add ADDR_UNSIGNED and use it for quickfix commands. Make
assert_fails() show the command if the error doesn't match.
https://github.com/vim/vim/commit/25190db225d63e185e77e043e694ef455b3cf304
N/A patches for version.c:
vim-patch:8.2.0113: "make cmdidxs" fails
Problem: "make cmdidxs" fails.
Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
https://github.com/vim/vim/commit/9b24dfcb9f676e7f7a09a9062f0d05b2104a87eb
|
| | | |
|
|\ \ \
| |/ /
|/| | |
ui: make 'mouse' handling in external UI more consistent
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
before the behaviour of 'mouse' was inconsistent in external UI,
as some remapping logic would check has_mouse() and others don't
(no difference in TUI or vim classic). With this change, the behaviour
is consistently up to the UI decide (see ui.txt edit)
Behaviour of tui.c is unaffected by this change.
|
| | |
| | |
| | | |
Another 3.16 compatibility. Solves Vue crashing currently. Currently not handling the return result, but would allow opening web browser in this case.
|
| | |
| | |
| | |
| | |
| | | |
handlers (#13638)
Several language servers are incorrectly invoking handlers which are not yet implemented in core.
|
| | |
| | |
| | |
| | | |
- Change 'conenvience' to 'convenient'
- Change 'lsp-handers' to 'lsp-handlers'
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Changed 'reqesting' to 'requesting' in /runtime/doc/api.txt file
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot see the selection type in :reg output. (Ayberk Aydın)
Solution: Add c/l/b. (Christian Brabandt, closes vim/vim#5110, closes vim/vim#4546)
https://github.com/vim/vim/commit/3691f1ee72b68a47e6dcc75927bfa46565cf3614
Patch v8.1.0999 is not ported so ":registers" does not omit register 1.
|