| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|\
| |
| |
| |
| | |
shadmansaleh/enhance/lsp/make_focusable_parameter_configurable
feat(lsp): Make focusability of lsp float configurable
|
| |
| |
| |
| |
| |
| | |
In the documentation for `vim.lsp.util.open_floating_preview`
the opts table keys were prefixed with `--` instead of `---`,
preventing capture by docgen.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This pr allows the user to specify whether `lsp.utils.open_floating_preview`
is focusable via the `opts` parameter. Defaults to true.
It can be configured by setting the focusable key inside opts parameter:
```lua
vim.lsp.util.open_floating_preview(contents, syntax, {focusable = false})
```
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Fixes #14691
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot paste a block without adding padding.
Solution: Add "zp" and "zP" which paste without adding padding. (Christian
Brabandt, closes vim/vim#8289)
https://github.com/vim/vim/commit/2fa9384ca1b600b934bec81a72c5fb7ce757503a
Cherry-pick Test_normal_z_error() from patch v8.2.0369.
|
| | |
|
|\ \
| | |
| | | |
Updated vim docs
|
| |/ |
|
|\ \
| |/
|/| |
perf(lsp): get all lines from a file in one go (`locations_to_items`)
|
| | |
|
| | |
|
|\ \
| | |
| | | |
refactor(lsp): consolidate the different floating window methods into `open_floating_preview`
|
| | |
| | |
| | |
| | | |
open_floating_preview
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* lua: Add vim.opt
* fixup: cleaning
* fixup: comments
* ty clason
* fixup: comments
* this is the last commit. period.
|
|/ /
| |
| |
| |
| | |
Install the icon of the application in the hicolor XDG icon theme;
this way it can be properly loaded by XDG menus in the currently set
XDG icon theme, without looking in the legacy pixmaps location.
|
| |
| |
| |
| |
| | |
After the change to use fancy_floating_markdown for the signature help I
noticed that scratch buffers start to accumulate.
|
|/
|
|
|
|
|
| |
Update runtime files
https://github.com/vim/vim/commit/3ec3217f0491e9ba8aa8ea02f7e454cd19a287ef
Omit fuzzy-match in pattern.txt.
|
|
|
|
|
|
| |
Problem: File extension .hsig not recognized.
Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
closes vim/vim#8236)
https://github.com/vim/vim/commit/f5409dbf66f4e4a0461d3f2079c1bffacbf12392
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handlers passed to `lsp_buf_request` weren't called if the server
responded with an error that looks like this:
"decoded", {
error = {
code = -32601,
message = "No delegateCommandHandler for foo"
},
id = 5,
jsonrpc = "2.0"
}
An example where that happens is both eclipse.jdt.ls and the
haskell-language-server when invoking a command that doesn't exist:
:lua vim.lsp.buf_request(
0,
'workspace/executeCommand',
{ command = 'foo' },
function(err, _, res)
print(vim.inspect(err), vim.inspect(res))
end
)
|
|
|
|
|
|
|
|
| |
Problem: Problem restoring 'packpath' in session.
Solution: Let "skiprtp" also apply to 'packpath'.
https://github.com/vim/vim/commit/d23b714d8b9ed8e16ef553098acc6da0979e94fc
Port Test_mksession_skiprtp() to lua functional test.
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Problems when restoring 'runtimepath' from a session file.
Solution: Add the "skiprtp" item in 'sessionoptions'.
https://github.com/vim/vim/commit/635bd60804966803490287e97460ecdc91d5fe0a
Allow "terminal" value for sessionoptions even if it's no-opt
because patch v8.0.1592 is not ported yet.
Omit vim9 test, Test_mksession_skiprtp().
|
|\
| |
| | |
perf(lsp): `locations_to_items`: use libuv for unloaded buffers to get line
|
| | |
|
|\ \
| | |
| | | |
fix(lsp): prefer selectionRange over range for document symbols in vim.lsp.util.symbols_to_items
|
| | | |
|
|\ \ \
| |_|/
|/| | |
fix(lsp): allow apply_text_edits to append text (insert at last line)
|
| | |
| | |
| | |
| | | |
line. Fixes #14017
|
| | |
| | |
| | | |
NeoVim always includes all features and doesn´t have termcap-options (t_u7).
|
|\ \ \
| | | |
| | | | |
feat(lsp): use same formatting for `signature_help` as `hover`
|
| | | | |
|
| | | | |
|
| | | | |
|
|\| | |
| |/ /
|/| | |
lsp: `lsp.util.fancy_floating_markdown` improvements
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fix: fancy_floating_markdown: syn region must include keepend to make sure syntax regions are applied correctly. Fixes #14594
feat: fancy_floating_markdown: handle <pre></pre> code blocks as a markdown code block with plaintext
fix: possible nil check for markdown code blocks till end of buffer
refactor: only one check is needed to see if stripped[h.finish +1] is valid
fix(lsp): dont't set doc ownsyntax, since it breaks contained syntaxes. Set regions for the markdown blocks intsead
fix: apply markdown formatting for code blocks without a language
fix: use markdownCodeBlock when no language was set in a code block
|
| | |
| | |
| | | |
ttimeout is a boolean. The correct command for this line is ":set ttimeoutlen=9999"
|
|\| | |
|
| |\ \
| | | |
| | | | |
lsp: handle case where CompletionItem.insertTextFormat is nil
|
| | | |
| | | |
| | | |
| | | | |
* Update tests to use explicit insertTextFormat for snippets
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Python 3.3 reached its end-of-life 2017-09-29:
https://www.python.org/dev/peps/pep-0398
Closes https://github.com/neovim/neovim/issues/14586
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Unfortunately, there are some subtle bugs in the smarter tagstack changes,
so we'll revert them for now and try to come up with a better approach.
One of the added tests, adds current position to jumplist before jumping,
is valuable though and changed to still work after reverting the other two
commits.
Closes #14571
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 8885ea7f244ee49b0018dc57be84917ea7886c2d.
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 993ca90c9b53033216d4973e2f995b995ed5740e.
|
| |\ \ \ \
| | |/ / /
| |/| | | |
lsp: handle unsupported call hierarchy call
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Using 'quickfixtextfunc' is a bit slow.
Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234)
https://github.com/vim/vim/commit/00e260bb6cc33ff5dbba15ac87ca7fd465aa49c0
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: 'quickfixtextfunc' does not get window ID of location list.
Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
closes vim/vim#6222)
https://github.com/vim/vim/commit/7ba5a7eff335dcce25afaa154f32eeadb6014b61
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: It is not possible to customize the quickfix window contents.
Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes vim/vim#5465)
https://github.com/vim/vim/commit/858ba06d5f577b187da0367b231f7fa9461cb32d
|