aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* | | | Merge pull request #14073 from mjlbach/feature/syntax_highlight_ruleMichael Lingelbach2021-03-10
|\ \ \ \ | | | | | | | | | | lsp: add custom syntax rule for floating window
| * | | | lsp: add custom syntax rules for lsp floating windowMichael Lingelbach2021-03-09
| | | | |
* | | | | lsp: Resolve codeLense server capabilities (#14056)Josa Gesell2021-03-10
| | | | |
* | | | | lsp: get_language_id (#14092)TJ DeVries2021-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | | | lsp: fix endline such that it cannot point outside the buffer rangeMichael Lingelbach2021-03-10
| | | | |
* | | | | runtime/termdebug 82be4849eed0b8fbee45bc8da99b685ec89af59a (#13660)Michael Sartain2021-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | lsp: add incremental text synchronizationMichael Lingelbach2021-03-09
| |/ / / |/| | | | | | | | | | | | | | | * Implementation derived from and validated by vim-lsc authored by Nate Bosch
* | | | Merge pull request #13993 from teto/gendocMatthieu Coudron2021-03-07
|\ \ \ \ | |/ / / |/| | | improve vimdoc generation
| * | | chore: rename progress_callback to progress_handlerMatthieu Coudron2021-03-04
| | | |
* | | | Merge pull request #13919 from TheAlakazam/lsplogfixMichael Lingelbach2021-03-06
|\ \ \ \ | | | | | | | | | | fix: fix empty line in lsp log after each run
| * | | | lsp: add explicit entry on lsp log startPiyush Jaipuriyar2021-03-06
| | | | | | | | | | | | | | | | | | | | fix: address typo and review comments
* | | | | Added If true to show that {after} and {follow} parameters of nvim_put() are ↵Lee Wannacott2021-03-07
| | | | | | | | | | | | | | | | | | | | expecting boolean values
* | | | | Forgot to add colon to the {follow} parameters statementLee Wannacott2021-03-07
| | | | |
* | | | | Clarify that nvim_put()'s {after} and {follow} parameters expect boolean ↵Lee Wannacott2021-03-07
| | | | | | | | | | | | | | | | | | | | values true, or false.
* | | | | Merge pull request #13793 from mjlbach/fix_terminating_eol_diagnosticMichael Lingelbach2021-03-05
|\ \ \ \ \ | |_|_|/ / |/| | | | [RDY] lsp: fix diagnostic reported on terminating EOL character
| * | | | lsp: fix diagnostic reported on terminating EOL characterMichael Lingelbach2021-03-02
| | | | |
* | | | | Merge pull request #14048 from saadparwaiz1/runtime/haskellJan Edmund Lazo2021-03-04
|\ \ \ \ \ | | | | | | | | | | | | Update Runtime Files For Haskell
| * | | | | runtime/haskell: 4f4d51a942cc2c6b3e936ee0f93f00c2d000065cSaad Parwaiz2021-03-03
| | | | | | | | | | | | | | | | | | | | | | | | port syntax file only
| * | | | | runtime/haskell: 8fe1000e9c3438d0ff36cf2340f0f0e48f8fb89fSaad Parwaiz2021-03-03
| | | | | | | | | | | | | | | | | | | | | | | | port haskellcomplete file only
| * | | | | runtime/cabal: 23515b4ef7580af8b9d3b964a558ab2007cacda5Saad Parwaiz2021-03-03
| | | | | | | | | | | | | | | | | | | | | | | | port cabal, cabalconfig, cabalproject syntax file
| * | | | | runtime/cabal: 4f4d51a942cc2c6b3e936ee0f93f00c2d000065cSaad Parwaiz2021-03-03
| | | | | | | | | | | | | | | | | | | | | | | | port cabal syntax file only
* | | | | | lsp: don't invoke vim.notify on sigterm of language serverMichael Lingelbach2021-03-04
| | | | | |
* | | | | | Merge pull request #14047 from mjlbach/feature/notify_on_crashMichael Lingelbach2021-03-04
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | lsp: invoke vim.notify when client exits with code or signal other than 0
| * | | | | lsp: invoke vim.notify when client exits with code or signal other than 0Michael Lingelbach2021-03-04
| | |/ / / | |/| | |
* | | | | vim-patch:30e9b3c42567 (#13936)Volodymyr Kot2021-03-03
| |/ / / |/| | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/30e9b3c4256710781c3bd64efb33f138e4e074b3
* | | | vim-patch:8.2.2236: 'scroll' option can change when setting the statuslineJan Edmund Lazo2021-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | vim-patch:8.1.1901: the +insert_expand feature is not always availableJan Edmund Lazo2021-03-01
|/ / / | | | | | | | | | | | | | | | Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature. https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7
* | | fix: show error when language server start fails and prevent future requestsDavid Zhang2021-02-26
| | |
* | | Merge pull request #14014 from mfussenegger/textDocumentSyncMichael Lingelbach2021-02-25
|\ \ \ | | | | | | | | LSP: Resolve text_document_save capability according to spec
| * | | LSP: Resolve text_document_save capability according to specMathias Fussenegger2021-02-25
| | | | | | | | | | | | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/13989 See https://github.com/microsoft/language-server-protocol/issues/288
* | | | Merge pull request #14004 from erw7/fix-ficJan Edmund Lazo2021-02-25
|\ \ \ \ | |/ / / |/| | | option: fix problem with fileignorecase not being set properly
| * | | eval: add fname_case to feature listerw72021-02-25
| | | |
* | | | Update lsp and api docs with gen_vimdoc changesMathias Fussenegger2021-02-24
| | | | | | | | | | | | | | | | | | | | Applies the changes generated with ./scripts/gen_vimdoc.py to add missing documentation.
* | | | [LSP] Add in more docs for highlight groups with document_highlight() (#13614)Chris Kipp2021-02-24
|/ / / | | | | | | | | | | | | | | | 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
* | | fix: treesitter languagetree crash when using telescope buffer previewer ↵Simon Hauser2021-02-23
| | | | | | | | | | | | (#13986)
* | | vim-patch:8.2.2233: cannot convert a byte index into a character index (#13978)kuuote2021-02-22
| | | | | | | | | | | | | | | 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
* | | lsp: remove deprecated references to 'callbacks' (#13945)Matthieu Coudron2021-02-23
| | | | | | | | | | | | | | | vim.lsp.callbacks was deprecated a few months ago. This is a cleanup before the release. Use vim.lsp.handlers instead.
* | | feat(lsp): use vim.notify for some errors (#13992)Matthieu Coudron2021-02-22
| | |
* | | vim-patch:8.1.1310: named function arguments are never optionalerw72021-02-22
| | | | | | | | | | | | | | | | | | | | | 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
* | | vim-patch:8.2.2070: can't get the exit value in VimLeave(Pre) autocommands ↵Jan Edmund Lazo2021-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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
* | | lsp: Fix text edits operating on the last line of a document (#13677)Mathias Fußenegger2021-02-19
| | | | | | | | | | | | | | | | | | `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
* | | lsp: client stop cleanups (#13877)Michael Lingelbach2021-02-19
| | | | | | | | | | | | | | | | | | | | | | | | * lsp: client stop cleanups * Add diagnostic clearing to client.stop() method used by nvim-lspconfig * Clear diagnostic cache to prevent stale diagnostics on client restart * lsp: Add test for vim.lsp.diagnostic.reset
* | | runtime/tar: 23515b4ef7580af8b9d3b964a558ab2007cacda5Jan Edmund Lazo2021-02-17
| | | | | | | | | | | | | | | | | | Port tar files only in order to support '*.tar.zst' files. Close https://github.com/neovim/neovim/pull/13337
* | | runtime/tar: 8024f936368336241406137a2fa78ed5ee9000a6Jan Edmund Lazo2021-02-17
| | | | | | | | | | | | Port tar runtime files only.
* | | runtime/tar: 2963456ff2b740244b3a064785fe681b1998d75eJan Edmund Lazo2021-02-17
| | | | | | | | | | | | Port tar files for release v31 only.
* | | vim-patch:8.2.2523: Svelte filetype not recognized (#13961)Brian Ryall2021-02-18
| | | | | | | | | | | | | | | Problem: Svelte filetype not recognized. Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7858) https://github.com/vim/vim/commit/c0fcb6e0b10050145e7d334b68b1bdc5201fed05
* | | vim-patch:8.2.2522: Beancount filetype not recognized (#13960)Brian Ryall2021-02-18
| | | | | | | | | | | | | | | Problem: Beancount filetype not recognized. Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7859) https://github.com/vim/vim/commit/9bbd883b3528b37dcacad22ad58861105a9ae428
* | | Merge pull request #13944 from chentau/on_bytes_docBjörn Linse2021-02-17
|\ \ \ | | | | | | | | Doc: update documentation for on_bytes
| * | | Doc: update documentation for on_byteschentau2021-02-17
| | | |
* | | | netrw: move netrw_home to XDA_DATA_HOME (#13939)Jakub Łuczyński2021-02-16
| | | |