| Commit message (Collapse) | Author | Age |
|\
| |
| | |
vim-patch:8.2.1909: number of status line items is limited to 80
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Number of status line items is limited to 80.
Solution: Dynamically allocate the arrays. (Rom Grk, closes vim/vim#7181)
https://github.com/vim/vim/commit/8133cc6bf454eb90bb0868f7cf806fce5c0c9fe6
The members of stl_item_T have not been prefixed with stl_ contrary to
the vim patch because the amount of stl_ prefixes on single lines of
code in that region was hurtful to readability.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We don't actually support snippets in core in the way that users would
truly expect. So, by default, we will not say that builtin-lsp has
`snippetSupport`.
To re-enable, users can do the following:
First, get a capabilities dictionary with
`local capabilities = vim.lsp.protocol.make_client_capabilities()`
Then override
`capabilities.textDocument.completion.completionItem.snippetSupport = true`
and then pass those capabilties to the setup function.
```
nvim_lsp.server_name.setup {
...,
capabilities = capabilities,
...,
}
```
See https://github.com/neovim/neovim/issues/12795
|
|\ \
| | |
| | | |
vim-patch:8.1.{2034,2050},8.2.{131,913,929,1521,1910,1913,1922}
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Dark them of GTK 3 not supported.
Solution: Add the "d" flag in 'guioptions'. (Jonathan Conder, closes vim/vim#4934)
https://github.com/vim/vim/commit/50bf7ce0c9f8c3ede2d1a02c734beba9d5a0504e
|
|/ /
| |
| | |
Fixes #13189
|
|/ |
|
|
|
|
|
|
| |
Problem: 'shellslash' is also used for completion.
Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes vim/vim#3612)
https://github.com/vim/vim/commit/ac3150d385e6e3f3fe76642aac3cda954d30583f
|
|\
| |
| | |
[RDY] lsp: fix fallback for callback in method_unsupported
|
| |
| |
| |
| | |
Missed this #12764. My bad :((
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To avoid loading buffers https://github.com/neovim/neovim/pull/12440
changed the logic to not process diagnostics for unloaded buffers.
This is problematic for language servers where compile errors or build
errors are reported via diagnostics. These errors may prevent the
language server from providing all functions and it is difficult for
users to debug it without having access to the errors.
For example, with eclipse.jdt.ls there may be a problem with gradle (the
build tool for java), it results in a diagnostics like this:
org.gradle.toolingapi/build.gradle|1 col 1| Could not run build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-4.8.1-bin.zip'.
This would be invisible to users unless the user happens to open the
right file. In this case the user would actually never see the error,
because the language server isn't attached to the build configuration
files.
This changes the behaviour to at least store the diagnostics. The other
operations which are more expensive are still skipped.
|
|\ \
| |/
|/| |
api: nvim_buf_delete
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Refactors how required capabilities are detected and validated, and make
sure requests are only sent to clients that support it (and only fail if
no clients support the provided method).
The validation happens at the buf_request level, because we assume that
if someone is sending the request directly through the client, they know
what they're doing. Also, let unknown methods go through.
This is extracted from #12518 and closes #12755.
Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
|
|\ \
| | |
| | | |
runtime: Patch syntax/markdown.vim
|
| | |
| | |
| | |
| | | |
vim/vim@ade0d39468014fd55d30f7647a1ac104baff4bc5
|
| | |
| | |
| | |
| | | |
vim/vim@c08ee7476b19f9b4de5df287797af87c4e3fba0a
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Formatting CJK text isn't optimal.
Solution: Properly break CJK lines. (closes vim/vim#3875)
https://github.com/vim/vim/commit/e52702f00322c8a8861efd0bd6a3775e685e5685
|
| |/
|/|
| |
| |
| |
| |
| | |
Problem: No simple way to interrupt Vim.
Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
closes vim/vim#1718)
https://github.com/vim/vim/commit/be5ee8686a50acf07b823bd293f9c765e533d213
|
|/
|
|
|
|
|
|
|
|
| |
Language servers can already send log messages to the client while the
server is still being initialized.
This currently leads to "client has shut down" messages which are
confusing to the user as the server is properly starting.
To fix this this changes the `get_client_by_id` method to also return a
client if it is still initializing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Can't do something just before leaving Insert mode.
Solution: Add the InsertLeavePre autocommand event. (closes vim/vim#7177)
https://github.com/vim/vim/commit/b53e13a91ab2fc9d52bd044715daa84972f4ce47
N/A patches for version.c:
vim-patch:8.1.1877: graduated features scattered
Problem: Graduated features scattered.
Solution: Put graduated and obsolete features together.
https://github.com/vim/vim/commit/ffc0716af8e448ef8a2a3249edfd0260546933df
vim-patch:8.2.1875: warning when building GTK gui
Problem: Warning when building GTK gui.
Solution: Add missing function parameter.
https://github.com/vim/vim/commit/3da855c8e28140d9f02b1572e445f8d4f977cf64
vim-patch:8.2.1877: test for function list fails
Problem: Test for function list fails.
Solution: Move "obsolete" comments one line up.
https://github.com/vim/vim/commit/b8f519e5382f9876ae7f8bc64d9814d07a8ef972
vim-patch:8.2.1878: GTK: error for redefining function
Problem: GTK: error for redefining function. (Tony Mechelynck)
Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
global functions.
https://github.com/vim/vim/commit/8a99e66b4f7616d9b0b9cefe742f82f9122087d5
vim-patch:8.2.1881: cannot build with GTK3
Problem: Cannot build with GTK3.
Solution: Adjust form functions.
https://github.com/vim/vim/commit/692d1a51e74fea2db3c7e9ae7c7c6c3a1a1945ee
vim-patch:8.2.1883: compiler warnings when using Python
Problem: Compiler warnings when using Python.
Solution: Adjust PyCFunction to also have the second argument. Use "int"
return type for some functions. Insert "(void *)" to get rid of
the remaining warnings.
https://github.com/vim/vim/commit/4ce5fe4c87820c7d22964d6e91d7b07e96640e6f
|
|
|
|
|
|
| |
Problem: No eval function for Ruby.
Solution: Add rubyeval(). (Ozaki Kiichi, closes vim/vim#4152)
https://github.com/vim/vim/commit/e99be0e6d28fad96efd2b2be23fa38e7559e80e1
|
|
|
|
|
|
| |
buffer number"
This reverts commit 4cd69151cf39cd4c3f083da2275f17206dcf5bc3.
|
| |
|
|\
| |
| | |
[RDY] Opts.wrap_at is sometimes a bool, ensure it falls back to a valid num…
|
| |
| |
| |
| | |
the call to math.min
|
|\ \
| | |
| | | |
vim.validate(): include stacktrace in message
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- The previous commit lost information in the tests. Instead, add some
more "normalization" substitutions in pcall_err(), so that the general
shape of the stacktrace is included in the asserted text.
- Eliminate contains(), it is redundant with matches()
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: trim() always trims both ends.
Solution: Add an argument to only trim the beginning or end. (Yegappan
Lakshmanan, closes vim/vim#6126)
https://github.com/vim/vim/commit/2245ae18e3480057f98fc0e5d9f18091f32a5de0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Not enough testing for the Ruby interface.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#3252)
https://github.com/vim/vim/commit/edd6aacb010ad2402fc98f19e7f6b7c29ba2656f
Modified some tests to make them pass for Neovim.
Some tests will always fail because +ruby is externalized in Neovim.
Skip failing ruby tests for now.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also allow to get parser ranges.
This will be useful for language injection, allowing us to tweak the
parser's ranges on the fly.
Update runtime/lua/vim/treesitter.lua
Co-authored-by: Paul Burlumi <paul@burlumi.com>
|
|\ \ \
| | | |
| | | | |
treesitter: runtime queries
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Runtime queries just work like ftplugins, that is:
- Queries in the `after` directory are sourced _after_ the "base" query
- Otherwise, the last define query takes precedence.
Queries can be found in the `queries` directory.
Update runtime/lua/vim/treesitter/query.lua
Co-authored-by: Paul Burlumi <paul@burlumi.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Problem: Output of :command with address completion is not nice.
Solution: Shorten the address completion names.
https://github.com/vim/vim/commit/a561a41a70db7a9367f883c1dbb14e69b3364d08
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Quickfix buffer shows up in list, can't get buffer number.
Solution: Make the quickfix buffer unlisted when the quickfix window is
closed. get the quickfix buffer number with getqflist().
(Yegappan Lakshmanan, closes vim/vim#4113)
https://github.com/vim/vim/commit/647e24ba3dbf7ff448aa471b1a659a18267ae056
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot easily change the current quickfx list index.
Solution: Add the "idx" argument to setqflist(). (Yegappan Lakshmanan,
closes vim/vim#3701)
https://github.com/vim/vim/commit/5b69c22fd2bf0c0d32aab90ee4c7ef74259d2c4c
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Python 3.9 was released, so we need to add support for the upcoming Python 3.10.
Python 3.5 and earlier reached their end-of-life.
PEP 478: Python 3.5 Release Schedule: https://www.python.org/dev/peps/pep-0478
PEP 596: Python 3.9 Release Schedule: https://www.python.org/dev/peps/pep-0596
PEP 619: Python 3.10 Release Schedule: https://www.python.org/dev/peps/pep-0619
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using ~{} for a literal dict is not nice.
Solution: Use #{} instead.
https://github.com/vim/vim/commit/4c6d90458baae843463f930fdc3fe4a7a2191d27
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using *{} for literal dict is not backwards compatible. (Yasuhiro
Matsumoto)
Solution: Use ~{} instead.
https://github.com/vim/vim/commit/b8be54dcc517c9d57b62409945b7d4b90b6c3071
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Dictionary with string keys is longer than needed.
Solution: Use *{key: val} for literaly keys.
https://github.com/vim/vim/commit/d5abb4c87727eecb71b0e8ffdda60fc9598272f3
Vim's popup,textprop features are N/A.
Neovim has not polyfilled their APIs.
Skip docs and tests for these features.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* lua: vim.wait allows control of fast events
* fixup: remove requirement of function for easier waiting
* fixup: lint
* fixup: bfredl comments
|
| | |
| | |
| | |
| | |
| | |
| | | |
Port typescript ftplugin and compiler files only.
https://github.com/vim/vim/commit/3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0
|
| | |
| | |
| | |
| | |
| | |
| | | |
Port typescript syntax changes only.
https://github.com/vim/vim/commit/91359014b359cf816bf943fe2c7d492996263def
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Port typescript syntax files only.
Close https://github.com/neovim/neovim/issues/12125
https://github.com/vim/vim/commit/09c6f265b21065ffa9437837b1d0955137175e45
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Port "runtime/indent/typescript.vim" changes only.
Close https://github.com/neovim/neovim/pull/12716.
https://github.com/vim/vim/commit/96f45c0b6fc9e9d404e6805593ed1e0e6795e470
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Treat unmapped ALT/META as ESC+c in all modes
Closes #7972
|
| |/
| |
| |
| |
| |
| |
| |
| | |
In #8226 <A-x> and <M-x> were changed to behave like <Esc>x in insert
mode when no mapping exists. This commit backs out that change and
replaces it with a more general one that makes unmapped ALT and META
keypresses as <Esc>+char in all modes. This fixes an unnecessary and
confusing inconsistency between modes.
|