aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* | | vim-patch:8.2.2203: Moodle gift files are not recognizedJan Edmund Lazo2020-12-24
| | | | | | | | | | | | | | | | | | Problem: Moodle gift files are not recognized. Solution: Add a filetype pattern. (Delim Temizer) https://github.com/vim/vim/commit/b34f33747223d9cba4b32a27aee70c1705b36ed9
* | | lsp: Fire LspDiagnosticsChanged before returning (#13483)Josh French2020-12-23
|/ / | | | | Run hook even when transitioning from some diagnostics to no diagnostics
* | lsp: Add <nomodeline> to doautocmd calls (#13576)Nils2020-12-21
| | | | | | When using "au User LspDiagnosticsChanged redrawstatus!", modelines get processed again (see h: doautocmd). Fortunately this can be suppressed using the <nomodeline> flag. this replaces every doautocmd call, that issues a User command, with doautocmd <nomodeline>.
* | lsp: add $/progress report (#13294)Matthieu Coudron2020-12-20
| | | | | | | | Heavily inspired by https://github.com/nvim-lua/lsp-status.nvim. listen to the LspProgressUpdate event to update your statusline.
* | foldcolumn: support "auto" (#13571)Jan Edmund Lazo2020-12-20
| | | | | | | | | | | | "set foldcolumn=auto" is documented but not supported. Support it by making it behave as "auto:1", similar to "signcolumn". Close https://github.com/neovim/neovim/pull/13561
* | lsp: Fix text payload in didSave notification (#13363)Mathias Fußenegger2020-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the specification[1] the payload must look like this: interface DidSaveTextDocumentParams { /** * The document that was saved. */ textDocument: TextDocumentIdentifier; /** * Optional the content when saved. Depends on the includeText value * when the save notification was requested. */ text?: string; } `text` must be on the same level as `textDocument´. Where `TextDocumentIdentifier` is: interface TextDocumentIdentifier { /** * The text document's URI. */ uri: DocumentUri; } [1]: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didSave
* | doc: Fix vim.lsp.diagnostic.get_next (#13495)Mitchell Hanberg2020-12-20
| |
* | runtime/php: 1c6737b20a5cf71751b180461cea22fc76d8870cTyson Andre2020-12-19
| | | | | | | | | | | | Port php syntax file only. Ref https://github.com/neovim/neovim/issues/12844
* | runtime/php: 47e13953ffdbb9f163b901196dec8c2100b72eddTyson Andre2020-12-19
| | | | | | | | Port php syntax file only.
* | runtime/php: 5ef1c6a4838a9629b793f3ae676f72a764171b00Tyson Andre2020-12-19
| | | | | | | | Port php syntax file only.
* | Add <Enter> to existing vim syntax highlighting for angle-bracket notation ↵Kevin Svetlitski2020-12-19
| | | | | | | | (#13553)
* | Merge pull request #13355 from notomo/check-textlock-in-apiBjörn Linse2020-12-16
|\ \ | | | | | | api: add textlock check
| * | docs: add check_textlock attributenotomo2020-12-16
| | |
* | | Merge pull request #13367 from nvim-treesitter/offset-lang-injectionBjörn Linse2020-12-16
|\ \ \ | | | | | | | | feat(treesitter): add offset predicate for language injection
| * | | feat(treesitter): add offset predicate for language injectionSteven Sojka2020-12-15
| |/ / | | | | | | | | | refactor(treesitter): add directives to queries
* / / feat(buffer_updates): allow ignoring when previewingThomas Vigouroux2020-12-15
|/ / | | | | | | | | Also adds a test that we actually subscribe to buffer events when in CMDPREVIEW.
* | healthcheck: fix health check issue with shada file (#13291)erw72020-12-13
| | | | | | | | | | - If the shada file is set with shada option n, use it. - If the shadafile is NONE, it does not check for file read/write access. - If the shada file does not exist, try to create it.
* | Fix lsp tests breaking from new LuaJIT versionMatthew Nibecker2020-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently the new version of LuaJIT changed the consistency with which it sorted table dictionaries. IIRC lua sorts dictionary keys by memory address, so it would appear that the reasons tests were previously passing was because of a differentiation in the implementation of the lua runtime. Ensure that array fields in the lsp protocol tables are consistently created, by using ipair when generating arrays for completionItemKind and symbolItemKind. For CodeActionKind, the current implementation includes both the keys and the values in the array. This is incorrect. Ensure that only the values are included in the array and sort them for consistency.
* | vim-patch:8.1.1089: tutor does not check $LC_MESSAGESJan Edmund Lazo2020-12-12
| | | | | | | | | | | | Problem: Tutor does not check $LC_MESSAGES. Solution: Let $LC_MESSAGES overrule $LANG. (Miklos Vajna, closes vim/vim#4112) https://github.com/vim/vim/commit/b44b7add8ae8e15328b4f68c3caf511bd9aaac8c
* | runtime/javascript: 207f009326c8f878defde0e594d7d9ed9860106eJan Edmund Lazo2020-12-12
| | | | | | | | Port javascript and javascript react ftplugins only.
* | runtime/javascript: e7b1ea0276cc83cd5c612f3189a174a60d57b5edJan Edmund Lazo2020-12-12
| | | | | | | | Port javascript autocomplete file only.
* | runtime/javascript: 388a5d4f20b4b64341d1604aa238cab85827b892Jan Edmund Lazo2020-12-12
| | | | | | | | | | | | Port javascript syntax file only. Ref https://github.com/neovim/neovim/issues/13185
* | runtime/javascript: 09c6f265b21065ffa9437837b1d0955137175e45Jan Edmund Lazo2020-12-12
| | | | | | | | | | | | Port javascriptreact.vim syntax only. Ref https://github.com/neovim/neovim/issues/13185
* | runtime/javascript: 5be4ceecea5520265066eac972460ebb1cdf05e7Jan Edmund Lazo2020-12-12
| | | | | | | | | | | | Port javascript syntax files only. Ref: https://github.com/neovim/neovim/issues/13185
* | vim-patch:8.2.0047: cannot skip tests for specific MS-Windows platform (#13461)Jan Edmund Lazo2020-12-11
| | | | | | | | | | Problem: Cannot skip tests for specific MS-Windows platform. Solution: Add windowsversion(). https://github.com/vim/vim/commit/0c1e3744ff0cd6c17af773046b876b428ff3dded
* | Merge pull request #13450 from nvim-treesitter/fix-unknown-language-parserThomas Vigouroux2020-12-10
|\ \ | | | | | | fix(treesitter): don't throw an error for missing injected langs
| * | fix(treesitter): don't throw an error for missing injected langsSteven Sojka2020-12-04
| | |
* | | doc: Fix incorrect LSP diagnostic-related helptags (#13388)Kevin Fleming2020-12-09
| | |
* | | doc: Add missing parameter end_pos for range_formatting (#13481)Olivier Roques2020-12-09
| | |
* | | feat: Allow incremental sync & lsp flags (#13371)TJ DeVries2020-12-08
| | |
* | | vim-patch:8.2.2106: TOML files are not recognizedSean Dewar2020-12-07
| | | | | | | | | | | | | | | | | | Problem: TOML files are not recognized. Solution: Match *.toml. (issue vim/vim#7432) https://github.com/vim/vim/commit/b237ae7b837a31922d31c3a27b7c66e63468b8a8
* | | Fix typo on treesitter.txt help pageLeandro Ostera2020-12-07
| | |
* | | runtime/doc: strftime() is always availableJan Edmund Lazo2020-12-06
| | |
* | | Merge pull request #13449 from nvim-treesitter/fix-language-for-rangeThomas Vigouroux2020-12-06
|\ \ \ | | | | | | | | fix(treesitter): incorrect method name call
| * | | fix(treesitter): incorrect method name callSteven Sojka2020-12-04
| |/ /
* | | Merge pull request #13417 from shade-of-noon/man_count.13411James McCoy2020-12-04
|\ \ \ | |/ / |/| | runtime: Fix man.vim count handling.
| * | runtime: Fix man.vim count handling.Edwin Pujols2020-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here I use a negative number to decide whether the count has been explicitly set. I think it unlikely that negative sections will ever be created given that negative numbers complicate argument handling: ``` $ man -1 foo man: invalid option -- '1' ``` and given that there's already precedence for alphanumeric sections like `3p`, `3x`, `n`, etc. --- This does work, though: ``` $ man -S -3 baz ``` With `man baz.-3` and `man 'baz(-3)'`, (GNU) man *might* consider `-3` internally as a section, but in the end reports as if the whole argument was the name of a topic: ``` $ man 'baz(-3)' No manual entry for baz(-3) ``` --- Closes #13411.
* | | Merge pull request #13173 from tjdevries/tjdevries/option_infoBjörn Linse2020-12-04
|\ \ \ | | | | | | | | api: add option metadata
| * | | api/options: fixupTJ DeVries2020-12-04
| | | |
* | | | vim-patch:8.2.2085: Qt translation file is recognized as typescriptJan Edmund Lazo2020-12-03
| |_|/ |/| | | | | | | | | | | | | | Problem: Qt translation file is recognized as typescript. Solution: Check the first line for "<?xml". (closes vim/vim#7418) https://github.com/vim/vim/commit/c0d670ce16d0e148b7d39ac354571b3d284a0b53
* | | lsp: Change diagnosticg.get_all to return {bufnr: Diagnostic[]} (#13310)Mathias Fußenegger2020-12-03
| | | | | | | | | Allows users to associate the diagnostics with the right bufnr.
* | | lsp: Make open_floating_preview buffers ephemeral (#13437)runiq2020-12-03
| | | | | | | | | Fixes #13429.
* | | lsp: Fix "unsupported_method" error when the buffer does not have an LSP ↵eightpigs2020-12-03
|/ / | | | | | | Server (#13175)
* | Merge pull request #12235 from dm1try/add_init_luaBjörn Linse2020-12-01
|\ \ | | | | | | add init.lua as an alternative user config
| * | doc: mention init.luadm1try2020-12-01
| | | | | | | | | | | | use a generic name instead of "init.vim" in starting.txt
* | | Merge pull request #13425 from bfredl/secretcharmBjörn Linse2020-12-01
|\ \ \ | |/ / |/| | ex_getln: add secret charm
| * | ex_getln: add secret charmBjörn Linse2020-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Opt in to this secret world using set wildchar=0 " already the default, but remove if non-zero existing config: set wildcharm=0 now you can map 'wildmode' just like any mode: cnoremap <tab> <c-z> function! Spacey() return getcmdline()[-1:] == "/" ? "\<bs>" : "" endfunc cnoremap <expr> / wildmenumode() ? Spacey()."/<c-z>" : "/" Possibly asked questions: What about backwards compatibility? ==== Just do nothing and your existing 'wildchar' and 'wildcharm' will keep working. Doesn't `<c-z>` mean suspend? ==== Not in cmdline mode. If it would then the recommended wildcharm would not have been `<c-z>` to start with. My config relies on `:<c-z>` being a synonym to `:<nop>`! ==== just no.
* | | Update vim_diff.txtYegappan Lakshmanan2020-11-30
|/ /
* | Merge pull request #13404 from jarimayenburg/filetype_dockerJan Edmund Lazo2020-11-29
|\ \ | |/ |/| [RDY] runtime: Updated Dockerfile syntax with latest from Vim upstream
| * runtime/dockerfile.vim: ebdf3c964a901fc00c9009689f7cfda478342c51Jari Maijenburg2020-11-29
| | | | | | | | | | Port only dockerfile.vim from upstream https://github.com/vim/vim/commit/ebdf3c964a901fc00c9009689f7cfda478342c51