aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* 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
* 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
* | gitcommit.vim: patch runtime/syntax to c08ee7476b1adrian52020-11-20
| | | | | | | | vim/vim@c08ee7476b19f9b4de5df287797af87c4e3fba0a
* | gitcommit.vim: patch runtime/ftplugin to c08ee7476adrian52020-11-20
|/ | | | vim/vim@c08ee7476b19f9b4de5df287797af87c4e3fba0a
* docs: Follow conventionsrockerBOO2020-11-16
|
* docs: Update nvim_lsp to lspconfigrockerBOO2020-11-16
|
* lsp: Expose all diagnostics (#13285)Mathias Fußenegger2020-11-14
| | | | | | | | | | | | | | | * lsp: Remove duplicate `diagnostics` fallback in diagnostic.display * lsp: Expose all diagnostics Before the changes in #12655 it was possible to retrieve all diagnostics via `vim.lsp.util.diagnostics_by_buf`. This adds a `diagnostic.get_all()` to enable users to retrieve all diagnostics. Use cases for that could include loading all diagnostics into the quickfix list, or to build an enhanced goto_next that can move across buffers.
* doc: fixup sign information (#13281)TJ DeVries2020-11-13
| | | Thanks to @sunzoje for finding the outdated documentation.
* lsp: vim.lsp.diagnostic (#12655)TJ DeVries2020-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Breaking Changes: - Deprecated all `vim.lsp.util.{*diagnostics*}()` functions. - Instead, all functions must be found in vim.lsp.diagnostic - For now, they issue a warning ONCE per neovim session. In a "little while" we will remove them completely. - `vim.lsp.callbacks` has moved to `vim.lsp.handlers`. - For a "little while" we will just redirect `vim.lsp.callbacks` to `vim.lsp.handlers`. However, we will remove this at some point, so it is recommended that you change all of your references to `callbacks` into `handlers`. - This also means that for functions like |vim.lsp.start_client()| and similar, keyword style arguments have moved from "callbacks" to "handlers". Once again, these are currently being forward, but will cease to be forwarded in a "little while". - Changed the highlight groups for LspDiagnostic highlight as they were inconsistently named. - For more information, see |lsp-highlight-diagnostics| - Changed the sign group names as well, to be consistent with |lsp-highlight-diagnostics| General Enhancements: - Rewrote much of the getting started help document for lsp. It also provides a much nicer configuration strategy, so as to not recommend globally overwriting builtin neovim mappings. LSP Enhancements: - Introduced the concept of |lsp-handlers| which will allow much better customization for users without having to copy & paste entire files / functions / etc. Diagnostic Enhancements: - "goto next diagnostic" |vim.lsp.diagnostic.goto_next()| - "goto prev diagnostic" |vim.lsp.diagnostic.goto_prev()| - For each of the gotos, auto open diagnostics is available as a configuration option - Configurable diagnostic handling: - See |vim.lsp.diagnostic.on_publish_diagnostics()| - Delay display until after insert mode - Configure signs - Configure virtual text - Configure underline - Set the location list with the buffers diagnostics. - See |vim.lsp.diagnostic.set_loclist()| - Better performance for getting counts and line diagnostics - They are now cached on save, to enhance lookups. - Particularly useful for checking in statusline, etc. - Actual testing :) - See ./test/functional/plugin/lsp/diagnostic_spec.lua - Added `guisp` for underline highlighting NOTE: "a little while" means enough time to feel like most plugins and plugin authors have had a chance to refactor their code to use the updated calls. Then we will remove them completely. There is no need to keep them, because we don't have any released version of neovim that exposes these APIs. I'm trying to be nice to people following HEAD :) Co-authored: [Twitch Chat 2020](https://twitch.tv/teej_dv)
* Removed restricted mode - Fix #11972georg3tom2020-11-11
|
* Update the differences with Vim. (#13239)Yegappan Lakshmanan2020-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | :cquit can use count to set the exit code patch 8.2.0095: cannot specify exit code for :cquit :tchdir tab-local current-directory patch 8.1.1218: cannot set a directory for a tab page Autocmd Events: - DirChanged patch 8.0.1459: cannot handle change of directory - TextYankPost patch 8.0.1394: cannot intercept a yank command tabpagenr() "#" argument g<Tab> goes to the last-accessed tabpage. patch 8.2.1401: cannot jump to the last used tabpage hl-QuickFixLine patch 8.0.0641: cannot set a separate highlighting for the quickfix line v:event patch 8.0.1394: cannot intercept a yank command K in help documents can be used like CTRL-]. Updated as part of a runtime update. https://github.com/vim/vim/commit/4c05fa08c9739e307ddc88ac91ba6d208f1fd68e
* Merge pull request #13205 from romgrk/add-bufmodified-autocmdBjörn Linse2020-11-09
|\ | | | | Implement BufModifiedSet autocmd
| * doc: add BufModifiedSetRom Grk2020-11-07
| |
* | tree-sitter: Put base languages first in queriesStephan Seitz2020-11-08
| | | | | | | | | | | | | | | | This reverts the handling of base languages to the old way how nvim-treesitter handled them. When a language extends a base language it usually wants to be able to overwrite queries. Related: https://github.com/nvim-treesitter/nvim-treesitter/issues/633
* | lsp: fix formatting_sync with multiple clients (#13233)francisco souza2020-11-07
| | | | | | | | | | | | | | | | buf_request_sync returns a table indexed by the client id, so when starting a second client on a separate buffer, result[1] will be nil. Closes #13232. Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
* | vim-patch:8.2.1964: not all ConTeXt files are recognized (#13245)champignoom2020-11-07
| | | | | | | | | | Problem: Not all ConTeXt files are recognized. Solution: Add two patterns. (closes vim/vim#7263) https://github.com/vim/vim/commit/faebda8cc1ecc4d6a197e06e968df46a2841ed79
* | Add v:event flag on DirChanged signaling switching window (#13153)Andrea Cedraro2020-11-07
|/ | | Closes #9909
* Merge pull request #13117 from romgrk/add-scroll-eventsBjörn Linse2020-11-07
|\ | | | | Implement scroll autocommand
| * doc: fix WinScrolled detailsRom Grk2020-11-07
| |
| * Merge branch 'master' into add-scroll-eventsRom Grk2020-11-03
| |\
| * | doc: update doc: s/Scroll/WinScrolled/Rom Grk2020-10-28
| | |
| * | docs: add documentation for Scroll autocmdRom Grk2020-10-24
| | |
* | | Merge pull request #13229 from ElPiloto/more_treesitter_docThomas Vigouroux2020-11-05
|\ \ \ | | | | | | | | [RDY] doc: Supplement documentation for treesitter.
| * | | Update runtime/doc/treesitter.txtLuis Piloto2020-11-05
| | | | | | | | | | | | Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
| * | | doc: Fix treesitter doc PR.ElPiloto2020-11-04
| | | |