aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* 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
| |/ /
* / / vim-patch:8.1.2115: MS-Windows: shell commands fail if &shell contains a spaceJan Edmund Lazo2020-11-23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: shell commands fail if &shell contains a space. Solution: Use quotes instead of escaping. (closes vim/vim#4920) https://github.com/vim/vim/commit/2efc44b3f0b6bd8307cb281af095e08e15ab1c24 Always double-quote &shell if it contains a space. Neovim does not support escaping space with backslash, unlike Vim. N/A patches for version.c: vim-patch:8.0.1455: if $SHELL contains a space then 'shell' is incorrect Problem: If $SHELL contains a space then the default value of 'shell' is incorrect. (Matthew Horan) Solution: Escape spaces in $SHELL. (Christian Brabandt, closes vim/vim#459) https://github.com/vim/vim/commit/4bfa8af14142e54f509048239f4e8596911f56aa vim-patch:8.2.1194: test failure because shell prompt differs Problem: Test failure because shell prompt differs. Solution: Set the shell prompt. https://github.com/vim/vim/commit/a4dc6f92bb29b00783f8945bbe1101e837b6ad3c
* | feat(treesitter): add language treeSteven Sojka2020-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | Implement the LanguageTree structure to enable language injection. This is done be removing the old Parser metatable and replacing by the new structure, with the same API (almost). Some noticeable differences : - `parser:parse()` now returns a table of trees - There is no incremental parsing for child (injected) languages Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
* | Merge pull request #13333 from adrian5/filetype-xmlJan Edmund Lazo2020-11-22
|\ \ | | | | | | runtime: Patch xml, xmllint, xmlformat filetypes
| * | xml.vim: patch runtime/syntax to 4ceaa3a6e0b8cb299adrian52020-11-22
| | | | | | | | | | | | vim/vim@4ceaa3a6e0b8cb2994c303041aedcbb60527cd61
| * | xml.vim: patch runtime/syntax to 96f45c0b6fc9e9d40adrian52020-11-22
| | | | | | | | | | | | vim/vim@96f45c0b6fc9e9d404e6805593ed1e0e6795e470
| * | xml.vim: patch runtime/indent to 4ceaa3a6e0b8cb299adrian52020-11-22
| | | | | | | | | | | | vim/vim@4ceaa3a6e0b8cb2994c303041aedcbb60527cd61
| * | xml.vim: patch runtime/indent to 96f45c0b6fc9e9d40adrian52020-11-22
| | | | | | | | | | | | vim/vim@96f45c0b6fc9e9d404e6805593ed1e0e6795e470
| * | xmllint.vim: patch runtime/compiler to 1c6737b20a5adrian52020-11-22
| | | | | | | | | | | | vim/vim@1c6737b20a5cf71751b180461cea22fc76d8870c
| * | xmlformat.vim: patch runtime/autoload to eab6dff19adrian52020-11-22
| | | | | | | | | | | | vim/vim@eab6dff19f387469a200011bc6cf3508f5e43a4a
| * | xmlformat.vim: patch runtime/autoload to 96f45c0b6adrian52020-11-22
| |/ | | | | | | vim/vim@96f45c0b6fc9e9d404e6805593ed1e0e6795e470
* | Merge pull request #13348 from adrian5/filetype-gitconfigJan Edmund Lazo2020-11-22
|\ \ | | | | | | runtime: Patch gitconfig.vim syntax
| * | gitconfig.vim: patch runtime/syntax to c08ee7476b1adrian52020-11-22
| | | | | | | | | | | | vim/vim@c08ee7476b19f9b4de5df287797af87c4e3fba0a
| * | gitconfig.vim: patch runtime/syntax to 5be4ceecea5adrian52020-11-22
| |/ | | | | | | vim/vim@5be4ceecea5520265066eac972460ebb1cdf05e7
* | Merge pull request #13351 from janlazo/vim-8.1.1598Jan Edmund Lazo2020-11-22
|\ \ | | | | | | vim-patch:8.1.{1598,1601,2332},8.2.2032
| * | vim-patch:8.2.2032: cabalconfig and cabalproject filetypes not recognizedJan Edmund Lazo2020-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cabalconfig and cabalproject filetypes not recognized. Solution: Detect more cabal files. (Marcin Szamotulski, closes vim/vim#7339) https://github.com/vim/vim/commit/dcbab75db3ba5e812f119e08cda6a02c6b028a14 N/A patches for version.c: vim-patch:8.1.1598: update to test file missing Problem: Update to test file missing. Solution: Update the popup window test file. https://github.com/vim/vim/commit/53a95d65840e9d48844fa0798f198eca765176e8 vim-patch:8.1.1601: missing changes to popup window test file Problem: Missing changes to popup window test file. Solution: Add those changes. https://github.com/vim/vim/commit/8da41816316f17382817df3f9449b55df8d39651
* | | Merge pull request #13345 from shade-of-noon/lingering-e145Jan Edmund Lazo2020-11-22
|\ \ \ | |/ / |/| | Remove leftover handling of restricted mode.
| * | runtime: Remove error handling for E145.Edwin Pujols2020-11-22
| |/ | | | | | | | | | | Restricted mode (-Z) has been removed per #11996. Some runtime files had lingering error handling (error identifier `E145`) so I cleaned them up.
* | Update vim_diff.txtshade-of-noon2020-11-21
| | | | | | Update for restricted mode removal.
* | Grammar - remove superfluous word.shade-of-noon2020-11-21
|/
* Merge pull request #13321 from seandewar/vim-8.2.2011Jan Edmund Lazo2020-11-19
|\ | | | | vim-patch:8.2.{2006,2011}
| * vim-patch:8.2.2006: .pbtxt files are not recognizedSean Dewar2020-11-19
| | | | | | | | | | | | Problem: .pbtxt files are not recognized. Solution: Recognize .pbtxt as protobuf text buffers. (closes vim/vim#7326) https://github.com/vim/vim/commit/88774a30c0b1957a6177cdb69d2becedae610299