| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | | |
* improve error message to make it actionable
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Breaking Changes:
- Deprecated all `vim.lsp.util.{*diagnostics*}()` functions.
- Instead, all functions must be found in vim.lsp.diagnostic
- For now, they issue a warning ONCE per neovim session. In a
"little while" we will remove them completely.
- `vim.lsp.callbacks` has moved to `vim.lsp.handlers`.
- For a "little while" we will just redirect `vim.lsp.callbacks` to
`vim.lsp.handlers`. However, we will remove this at some point, so
it is recommended that you change all of your references to
`callbacks` into `handlers`.
- This also means that for functions like |vim.lsp.start_client()|
and similar, keyword style arguments have moved from "callbacks"
to "handlers". Once again, these are currently being forward, but
will cease to be forwarded in a "little while".
- Changed the highlight groups for LspDiagnostic highlight as they were
inconsistently named.
- For more information, see |lsp-highlight-diagnostics|
- Changed the sign group names as well, to be consistent with
|lsp-highlight-diagnostics|
General Enhancements:
- Rewrote much of the getting started help document for lsp. It also
provides a much nicer configuration strategy, so as to not recommend
globally overwriting builtin neovim mappings.
LSP Enhancements:
- Introduced the concept of |lsp-handlers| which will allow much better
customization for users without having to copy & paste entire files /
functions / etc.
Diagnostic Enhancements:
- "goto next diagnostic" |vim.lsp.diagnostic.goto_next()|
- "goto prev diagnostic" |vim.lsp.diagnostic.goto_prev()|
- For each of the gotos, auto open diagnostics is available as a
configuration option
- Configurable diagnostic handling:
- See |vim.lsp.diagnostic.on_publish_diagnostics()|
- Delay display until after insert mode
- Configure signs
- Configure virtual text
- Configure underline
- Set the location list with the buffers diagnostics.
- See |vim.lsp.diagnostic.set_loclist()|
- Better performance for getting counts and line diagnostics
- They are now cached on save, to enhance lookups.
- Particularly useful for checking in statusline, etc.
- Actual testing :)
- See ./test/functional/plugin/lsp/diagnostic_spec.lua
- Added `guisp` for underline highlighting
NOTE: "a little while" means enough time to feel like most plugins and
plugin authors have had a chance to refactor their code to use the
updated calls. Then we will remove them completely. There is no need to
keep them, because we don't have any released version of neovim that
exposes these APIs. I'm trying to be nice to people following HEAD :)
Co-authored: [Twitch Chat 2020](https://twitch.tv/teej_dv)
|
| | |
|
|\ \
| | |
| | | |
ui: Fix click on foldcolumn when ext_multigrid is enabled
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Implement BufModifiedSet autocmd
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| | |
Closes #9909
|
|\ \
| | |
| | | |
Implement scroll autocommand
|
| | | |
|
| |\ \ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | | |
Weirdl this test is failing, but can't reproduce locally, this is an
unnecessary blocker for this PR.
|
| | | |
|
| | |
| | |
| | |
| | | |
¡NO HAY BANDA!
|
|\ \ \
| | | |
| | | | |
Color themes (per window/line) and lua theme providers
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function)
orange is sus??
NOVEMBER DAWN
erase the lie that is redraw_later()
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:8.2.{639,666,1925,1926,1929,1932}
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: List/dict test fails.
Solution: Correct expected exception.
https://github.com/vim/vim/commit/6d967125ad87b1c2a9467357286c3514d5dd1c40
Cherry-pick e_dictkey[] change from patch 8.2.1924.
N/A patches for version.c:
vim-patch:8.2.1929: MS-Windows: problem loading Perl 5.32
Problem: MS-Windows: problem loading Perl 5.32.
Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes vim/vim#7234)
https://github.com/vim/vim/commit/0289065e41ce3148f929e16a55aa3b161c80576f
vim-patch:8.2.1932: compiler warnings when building with Athena GUI
Problem: Compiler warnings when building with Athena GUI.
Solution: Fix function signatures.
https://github.com/vim/vim/commit/963734e316bd17dd7290abcac28b875435d06381
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
] treesitter: add node:id()
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
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.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Command line is not cleared when switching tabs and the command
line height differs.
Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
closes vim/vim#5495)
https://github.com/vim/vim/commit/479950f6c9aee4806f28a2b2fe5471e18a034cff
|
|\ \ \
| | | |
| | | | |
[RDY] lsp: fix fallback for callback in method_unsupported
|
| | | |
| | | |
| | | |
| | | | |
Missed this #12764. My bad :((
|
|\ \ \ \
| |/ / /
|/| | | |
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>
|
|/ / / |
|
|/ /
| |
| |
| |
| |
| | |
Problem: No eval function for Ruby.
Solution: Add rubyeval(). (Ozaki Kiichi, closes vim/vim#4152)
https://github.com/vim/vim/commit/e99be0e6d28fad96efd2b2be23fa38e7559e80e1
|
|\ \
| | |
| | | |
A Mudholland Dr. Recast
|
| | |
| | |
| | |
| | |
| | | |
The commit summary maybe does not make sense, but calling a function
that does not wait on anything `wait()` makes even less sense.
|
|\ \ \
| |/ /
|/| | |
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()
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix multiple typos in `src/nvim/api/ui_events.in.h`
* Below spellings are corrected:
* Definitions
* Revision
* Performance
* Typo fix `presense` should be presence
* Typo fix, follwed -> followed
* Typo fix, attemping -> attempting
* Typo fix, duplicate 'the'
* Typo fix, bounaries -> boundaries
* Revert "Typo fix, bounaries -> boundaries"
This reverts commit 24779e55e596f7534585938a7e532830ad2fa83c.
* Revert "Typo fix, duplicate 'the'"
This reverts commit 1d41d74f78736e67821a15edc9c174a2c3024f87.
* Revert "Typo fix, attemping -> attempting"
This reverts commit d8b2860dfcac366af7afae1f09946ed0aee4a34e.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No error when using wrong arguments for setqflist() or
setloclist().
Solution: Check for the error.
https://github.com/vim/vim/commit/be7a50c22f63478a6e64fe6b932a847830191b95
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Text does not scroll when inserting above first line.
Solution: Adjust off-by-one error. (Ken Takata, closes vim/vim#6739)
https://github.com/vim/vim/commit/9dc1917f42b23277e143fc58bbe27482b0b76bad
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Redraw error when using visual block and scroll.
Solution: Add check for w_topline. ( closes vim/vim#6597)
https://github.com/vim/vim/commit/f8992d47cd50494c64bb733329067c9de3c75200
|