aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* 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
| * runtime/dockerfile.vim: 560979ed4f0216f902a2c247e937f00a27dcb198Jari Maijenburg2020-11-29
| | | | | | | | | | Port only dockerfile.vim from upstream https://github.com/vim/vim/commit/560979ed4f0216f902a2c247e937f00a27dcb198
* | doc: fix lsp statusline examle (#13286)Damien Rajon2020-11-29
| | | | | | Co-authored-by: Damien Rajon <damien@askmarty.io>
* | lsp: Reduce memory usage for buffering the message from LSP.Yuki Ito2020-11-29
| |
* | vim-patch:8.2.0095: cannot specify exit code for :cquit (#13407)Jan Edmund Lazo2020-11-28
|/ | | | | | | Problem: Cannot specify exit code for :cquit. Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes vim/vim#5442) https://github.com/vim/vim/commit/1860bde9d31bbb0ba857f6284f6332a7134030dd Co-authored-by: erw7 <erw7.github@gmail.com>
* Merge pull request #13397 from adrian5/filetype-gitrebaseJan Edmund Lazo2020-11-27
|\ | | | | runtime: Patch gitrebase filetype
| * gitrebase.vim: patch runtime/syntax to 664f3cf3f21adrian52020-11-27
| | | | | | | | vim/vim@664f3cf3f21d3699bfd179c318ef5c869c085648
| * gitrebase.vim: patch runtime/syntax to c08ee7476b1adrian52020-11-27
| | | | | | | | vim/vim@c08ee7476b19f9b4de5df287797af87c4e3fba0a
| * gitrebase.vim: patch runtime/ftplugin to c08ee7476adrian52020-11-27
| | | | | | | | vim/vim@c08ee7476b19f9b4de5df287797af87c4e3fba0a
* | use if_nil variable replace vim.F.if_nilRaphael2020-11-26
| |
* | Merge pull request #13375 from janlazo/vim-8.2.2041Jan Edmund Lazo2020-11-25
|\ \ | | | | | | vim-patch:8.1.{2290,2390},8.2.{242,257,302,303,462,991,996,2041,2042,2043,2047,2048,2049,2054}
| * | vim-patch:8.2.0996: using "aucmdwin" in win_gettype() is not idealJan Edmund Lazo2020-11-25
| | | | | | | | | | | | | | | | | | Problem: Using "aucmdwin" in win_gettype() is not ideal. Solution: Rename to "autocmd". https://github.com/vim/vim/commit/40a019f157c549dcdc17c33f082975485567bb06
| * | vim-patch:8.2.0991: cannot get window type for autocmd and preview windowJan Edmund Lazo2020-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot get window type for autocmd and preview window. Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes vim/vim#6277) https://github.com/vim/vim/commit/0fe937fd8616fcd24b1b1ef2ab9f1657615dd22c Cherry-pick test_preview.vim,test_window_cmd.vim changes from patch v8.2.0522.
| * | vim-patch:8.2.0257: cannot recognize a terminal in a popup windowJan Edmund Lazo2020-11-25
| | | | | | | | | | | | | | | | | | Problem: Cannot recognize a terminal in a popup window. Solution: Add the win_gettype() function. https://github.com/vim/vim/commit/00f3b4e007af07870168bf044cecc9d544483953
| * | vim-patch:8.2.2041: haskell filetype not optimally recognizedJan Edmund Lazo2020-11-24
| | | | | | | | | | | | | | | | | | | | | Problem: Haskell filetype not optimally recognized. Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski, closes vim/vim#7354) https://github.com/vim/vim/commit/a09bee322e605c8a076fa23c3d3259495a1129d2
* | | Lsp: fix vim.F.ifnil to vim.F.if_nil (#13384)Raphael2020-11-25
| | |
* | | LSP: Feature/add workspace folders (#12638)Michael Lingelbach2020-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First implementation of workspace folders * Add completion for current directory * Add tracking of workspace folders * Add workspace folder listing * Add checks on adding/removing workspaces * Add appropriate initialization options * Add documentation * Make workspaceFolders available wherever client is
* | | Merge pull request #13357 from vigoux/luahl-priorityBjörn Linse2020-11-25
|\ \ \ | | | | | | | | feat(luahl): add priority mechanism
| * | | feat(luahl): add priority mechanismThomas Vigouroux2020-11-25
| | | | | | | | | | | | | | | | | | | | Base priority is 0x1000, in order to stay kinda backward compatible. Also set tree-sitter default highlight to 100 (middle-ish value)
* | | | fix(treesitter): docs reflect parser:parse()bkegley2020-11-24
| |/ / |/| | | | | Update docs to document that `parser:parse()` now returns a table of trees
* | | languagetree: call changedtree callback per treeThomas Vigouroux2020-11-24
| | | | | | | | | | | | Also fix a typo
* | | man.vim: Use page title instead of full path. (#13353)shade-of-noon2020-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 63f0ca326322376271, `tagfunc` was introduced to `runtime/autoload/man.vim`. Nonetheless the tag function instead of using a short buffer name (e.g. `man://foo(3)`) uses the full path to the man page (e.g. `man:///usr/share/.../foo.3.gz`). This behaviour is inconsistent with `:Man!`, thus this commit. Closes #13334
* | | checkhealth: support virtual env dir with spacessaadparwaiz12020-11-24
| | |
* | | Merge pull request #13270 from vigoux/ts-range-rangesThomas Vigouroux2020-11-23
|\ \ \ | | | | | | | | treesitter: allow table to be used as ranges
| * | | fix(treesitter): allow ranges in set_included_rangesThomas Vigouroux2020-11-23
| |/ /