| Commit message (Collapse) | Author | Age |
| |
|
|\
| |
| | |
lsp: fix highlighting for lsp markdown code blocks
|
| | |
|
|\ \
| | |
| | | |
treesitter: Update to 0.19.3
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
The sematics and signature of this API is going to change, but we
don't wanna delay 0.5 for it. Mark API as unstable for now.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Poke files are not recognized.
Solution: Add a filetype entry. (Matt Ihlenfield)
https://github.com/vim/vim/commit/c80f647512b001fb6952ed10d076d56c3d4b84e0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With the new implementation added in
https://github.com/neovim/neovim/pull/14079 I think this is now working
well enough to enable it by default.
There are high CPU usage issues popping up now and then and they might
at least partially be related to the full-text sync.
|
| |/
|/| |
|
|\ \
| | |
| | | |
lsp: add custom syntax rule for floating window
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Allow specifying a languageId for a lsp
For some languages the filetype might not match the languageId the
language server accepts. In these cases the config for the language
server can contain a function which gets the current buffer and filetype
and returns a languageId. When it isn't provided the filetype is used
instead.
Example:
```lua
require'lspconfig'.sourcekit.setup{
get_language_id = function(bufnr, ft)
return 'swift'
end;
}
```
Closes #13093
* lsp: Change to get_language_id
Co-authored-by: Jan Dammshäuser <mail@jandamm.de>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
port termdebug dissasembly window only (termdebug.vim)
This patch adds disassembly window to Termdebug
:Asm should bring up disassembly window
or setting:
g:termdebug_disasm_window
Values greater than 1 will set disasm window height.
Code works by calling gdb disassemble command, demangling output and
storing in Termdebug-asm-listing buffer + window.
Current pc address is parsed from 'addr=' cursor msg and we search for
that address in the disasm window. When the search fails, we execute a
new "disassemble $pc" command.
When in a location without a proper stack frame, "disassemble $pc" can
fail and in this case we add a +length argument and try again.
Tested with x86_64 gdb v10.1 and v8.2.1, and aarch64 gdb v7.12.
|
| |/
|/|
| |
| |
| | |
* Implementation derived from and validated by vim-lsc authored by Nate
Bosch
|
|\ \
| |/
|/| |
improve vimdoc generation
|
| | |
|
|\ \
| | |
| | | |
fix: fix empty line in lsp log after each run
|
| | |
| | |
| | |
| | | |
fix: address typo and review comments
|
| | |
| | |
| | |
| | | |
expecting boolean values
|
| | | |
|
| | |
| | |
| | |
| | | |
values true, or false.
|
|\ \ \
| | | |
| | | | |
[RDY] lsp: fix diagnostic reported on terminating EOL character
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Update Runtime Files For Haskell
|
| | | | |
| | | | |
| | | | |
| | | | | |
port syntax file only
|
| | | | |
| | | | |
| | | | |
| | | | | |
port haskellcomplete file only
|
| | | | |
| | | | |
| | | | |
| | | | | |
port cabal, cabalconfig, cabalproject syntax file
|
| | | | |
| | | | |
| | | | |
| | | | | |
port cabal syntax file only
|
| | | | | |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
lsp: invoke vim.notify when client exits with code or signal other than 0
|
| | |/ /
| |/| | |
|
| |/ /
|/| |
| | |
| | | |
Update runtime files
https://github.com/vim/vim/commit/30e9b3c4256710781c3bd64efb33f138e4e074b3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes vim/vim#7533)
https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
|
|/ /
| |
| |
| |
| |
| | |
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7
|
| | |
|
|\ \
| | |
| | | |
LSP: Resolve text_document_save capability according to spec
|
| | |
| | |
| | |
| | |
| | | |
Fixes https://github.com/neovim/neovim/issues/13989
See https://github.com/microsoft/language-server-protocol/issues/288
|
|\ \ \
| |/ /
|/| | |
option: fix problem with fileignorecase not being set properly
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Applies the changes generated with ./scripts/gen_vimdoc.py to add
missing documentation.
|
|/ /
| |
| |
| |
| |
| | |
Currently it's not 100% clear that without setting these, using the autocomds
to utilize the `textDocument/documentHighlight` functionality, nothing will
actually be visible since the highlight groups don't have any details. This
just adds in a couple simple extra notes to make sure that's done
|
| |
| |
| |
| | |
(#13986)
|
| |
| |
| |
| |
| | |
Problem: Cannot convert a byte index into a character index.
Solution: Add charidx(). (Yegappan Lakshmanan, closes vim/vim#7561)
https://github.com/vim/vim/commit/17793ef23aae0bc94539390ccfe5e63b0ad39ff2
|
| |
| |
| |
| |
| | |
vim.lsp.callbacks was deprecated a few months ago. This is a cleanup before the release.
Use vim.lsp.handlers instead.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Named function arguments are never optional.
Solution: Support optional function arguments with a default value. (Andy
Massimino, closes vim/vim#3952)
https://github.com/vim/vim/commit/42ae78cfff171fbd7412306083fe200245d7a7a6
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#13981)
Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes vim/vim#7395)
https://github.com/vim/vim/commit/f0068c5154a99b86b2c4515a4b93c003b2445cf4
Rearrange VimVarIndex enums and vimvars[] entries to sync with Vim.
N/A patches for version.c:
vim-patch:8.2.2535: MS-Windows: cannot run all vim9 tests
Problem: MS-Windows: cannot run all vim9 tests.
Solution: Make test_vim9 target work.
https://github.com/vim/vim/commit/723ef5db980b2e69ef8bdc0dd448cb645491c464
|
| |
| |
| |
| |
| |
| | |
`lines` can be empty, in which case `#lines[#lines]` failed with an
error:
lsp/util.lua:214: attempt to get length of a nil value
|