aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* docs(options): add more missing 'nofoo' tags (#17967)Christian Clason2022-04-02
|
* docs(options): add missing 'nofoo' tags (#17965)Christian Clason2022-04-02
|
* vim-patch:8.2.4664: Elvish files are not recognized (#17963)Christian Clason2022-04-02
| | | | | Problem: Elvish files are not recognized. Solution: Recognize .elv files. (Bruno Roque, closes vim/vim#10058) https://github.com/vim/vim/commit/c1658a196bb05dd96562fd0a92409be2201b62e9
* fix(keymap): don't coerce false to ''Lewis Russell2022-04-01
|
* Merge pull request #17842 from lewis6991/keymapbfredl2022-04-01
|\ | | | | feat(keymap): return nil from an expr keymap
| * feat(keymap): return nil from an expr keymapLewis Russell2022-03-24
| | | | | | | | | | For Lua callback expr keymaps, returning `nil` or `false` is equivalent to an empty string
* | Merge pull request #17938 from ggandor/autocmd-api-namesbfredl2022-04-01
|\ \ | | | | | | refactor(api)!: use singular/plural consistently in the autocmd API
| * | refactor(api)!: use singular/plural consistently in the autocmd APIGyörgy Andorka2022-03-31
| | |
* | | vim-patch:8.2.4658: org-mode files are not recognized (#17939)Christian Clason2022-03-31
| | | | | | | | | | | | | | | Problem: Org-mode files are not recognized. Solution: Add patterns to recognize "org" files. (closes vim/vim#10046) https://github.com/vim/vim/commit/3a6f952cc87065a4cf1f6502b2054ba99fdf45ed
* | | docs(extmark): fix nvim_buf_get_extmarks example (#17934)dundargoc2022-03-31
| | |
* | | feat(runtime): add query filetype (#17905)Christian Clason2022-03-31
|/ / | | | | | | | | | | used for Tree-sitter queries uses Lisp runtime files (in Lua to distinguish from upstream runtime files)
* | feat(api): nvim_clear_autocmdTJ DeVries2022-03-31
| | | | | | | | Co-authored-by: Christian Clason <christian.clason@uni-due.de>
* | feat(treesitter): add more default groups to highlight map (#17835)Gregory Anders2022-03-30
| | | | | | This covers some default groups listed in :h group-name.
* | docs(lsp): remove outdated offset_encoding default value for apply_text_editsAndrea Cappuccio2022-03-30
| |
* | vim-patch:46eea444d (#17920)dundargoc2022-03-30
| | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/46eea444d992c2ae985cabb775a5d283f8e16df3 Skip repeat.txt as it only has vim9-specific changes.
* | docs(pattern.txt): cherry-pick latests changes from Vim runtime updateszeertzjq2022-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/53f7fccc9413c9f770694b56f40f242d383b2d5f Update runtime files https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f Update runtime files https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b Update runtime files. https://github.com/vim/vim/commit/a2baa73d1d33014adea0fd9567949089ca21a782
* | vim-patch:8.2.3110: a pattern that matches the cursor position is complicatedzeertzjq2022-03-30
| | | | | | | | | | | | | | | | | | Problem: A pattern that matches the cursor position is bit complicated. Solution: Use a dot to indicate the cursor line and column. (Christian Brabandt, closes vim/vim#8497, closes vim/vim#8179) https://github.com/vim/vim/commit/04db26b36000a4677b95403ec94bd11f6cc73975 Also use `n = ++vcol` in regexp_bt.c as `++vcol` alone fails lint.
* | docs: update hl-Whitespace documentation (#17901)zeertzjq2022-03-29
| |
* | fix(lsp): use "text" filetype for plaintext (#17898)Jaehwang Jung2022-03-28
| |
* | feat(test): use nvim_exec in helpers.source() #16064Justin M. Keyes2022-03-27
| | | | | | | | | | | | | | | | helpers.source() was a hack to work around the lack of anonymous :source. Its "create tempfile" behavior is not a required part of most tests that use it. Some tests still need the old "create tempfile" behavior either because they test SID behavior, or because of missing nvim_exec features: #16071
* | fix(diagnostic): make `open_float` respect global diagnostic options (#17879)Smitesh Patil2022-03-27
| | | | | | | | * make `open_float` respect `scope` option set in `vim.diagnostic.config` * Closes #17878
* | docs: correct CursorMoved documentation (#17880)zeertzjq2022-03-27
| | | | | | behavior was changed in https://github.com/neovim/neovim/pull/9807
* | refactor!: rename nvim_do_autocmd to nvim_exec_autocmd (#17854)Javier Lopez2022-03-26
| | | | | | according to established code standards (`:h dev-api`)
* | docs(api): fix wrong documentation of `nvim_create_autocmd` (#17870)かわえもん2022-03-26
| | | | | | also add doc changes from typofix PR
* | chore: fix typos (#17755)dundargoc2022-03-25
| | | | | | | | Co-authored-by: Jordan Haine <jhaine@securitycompass.com>
* | docs(api): improve autocommand docs (#17545)Javier Lopez2022-03-25
| | | | | | [skip ci]
* | fix(filetype.lua): always return a string in getline helper function (#17852)Jared Weakly2022-03-25
| | | | | | | | | | | | Uses of `getline` in `filetype.lua` currently assume it always returns a string. However, if the buffer is unloaded when filetype detection runs, `getline` returns `nil`. Fixing this prevents errors when filetype detection is run on unloaded buffers.
* | feat: add vim.tbl_get (#17831)Michael Lingelbach2022-03-24
| | | | | | | | | | | | vim.tbl_get takes a table with subsequent string arguments (variadic) that index into the table. If the value pointed to by the set of keys exists, the function returns the value. If the set of keys does not exist, the function returns nil.
* | feat(runtime): include Lua in C++ ftplugin (#17843)Gregory Anders2022-03-24
|/
* refactor: remove cpo-& behavior (#17745)zeertzjq2022-03-23
| | | | cpo-& has been removed, but its behavior was accidentally made the default behavior. That should be removed instead.
* docs: regenerate [skip ci]marvim2022-03-20
|
* Merge pull request #17776 from bfredl/tsconcealbfredl2022-03-20
|\ | | | | feat(ui): allow conceal to be defined in decorations
| * feat(ui): allow conceal to be defined in decorationsbfredl2022-03-20
| | | | | | | | | | | | Unlike syntax conceal, change highlight of concealed char Can be used in tree-sitter using "conceal" metadata.
* | fix(lsp): set tabSize from 'shiftwidth', not 'softtabstop' (#17787)Tim Pope2022-03-20
|/ | | | | | | | | The use of 'softtabstop' to set tabSize was introduced in 5d5b068, replacing 'tabstop'. If we look past the name tabSize and at the actual purpose of the field, it's the indentation width used when formatting. This corresponds to the Vim option 'shiftwidth', not 'softtabstop'. The latter has the comparatively mundane purpose of controlling what happens when you hit the tab key (and even this is incomplete, as it fails to account for 'smarttab').
* fix(termdebug): handle exiting during startup properly (#16790)Sean Dewar2022-03-20
| | | | | | | | | | | | | s:EndTermDebug should only be called when exiting if the debugger started without error, otherwise the plugin breaks. Vim handles this by using job_setoptions to set the on_exit callback to s:EndTermDebug after startup succeeds. However, Nvim does not have such functionality; instead; use s:starting to mimic this behaviour. Also, introduce s:running to fix s:CheckGdbRunning; it did not work correctly due to the "[Process exited X]" message keeping the job's channel alive (though the stream is closed). This means nvim_get_chan_info cannot be used to check if the debugger has exited, as it may still return a non-empty dict.
* vim-patch:47c532e2bc55 (#17780)Christian Clason2022-03-20
| | | | Update runtime files https://github.com/vim/vim/commit/47c532e2bc55e8a48f7f47e1fae1ed30144f2fa1
* docs: reword description for nvim_buf_line_count() (#17766)Xiretza2022-03-18
| | | This adds a few more keywords to make the function easier to find.
* Merge pull request #17266 from famiu/feat/ui/global-statuslinebfredl2022-03-17
|\ | | | | feat(statusline): add global statusline
| * feat: add support for global statuslineFamiu Haque2022-03-18
| | | | | | | | | | | | | | | | | | | | Ref: #9342 Adds the option to have a single global statusline for the current window at the bottom of the screen instead of a statusline at the bottom of every window. Enabled by setting `laststatus = 3`. Due to the fact that statuslines at the bottom of windows are removed when global statusline is enabled, horizontal separators are used instead to separate horizontal splits. The horizontal separator character is configurable through the`horiz` item in `'fillchars'`. Separator connector characters are also used to connect the horizontal and vertical separators together, which are also configurable through the `horizup`, `horizdown`, `vertleft`, `vertright` and `verthoriz` items in `fillchars`. The window separators are highlighted using the `WinSeparator` highlight group, which supersedes `VertSplit` and is linked to `VertSplit` by default in order to maintain backwards compatibility.
* | chore: fix typos (#17670)dundargoc2022-03-17
| | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | Merge pull request #17707 from tesaguri/refactor-gen_vimdocJames McCoy2022-03-16
|\ \
| * | docs: remove extra whitespacesDaiki Mizukami2022-03-14
| | |
| * | chore(gen_vimdoc): fall back to `brief_desc_node` when `desc_node` is emptyDaiki Mizukami2022-03-14
| | |
* | | chore(checkhealth/provider): style fixes (#17738)Sean Dewar2022-03-16
| | |
* | | fix(checkhealth): make provider checkhealth output more consistent (#17722)dundargoc2022-03-16
| | | | | | | | | | | | | | | Change missing provider plugins from errors to warnings for python and perl. Also give proper advice under the ADVICE section instead of just the errors.
* | | vim-patch:8.2.4571: not all gdb files are recognized (#17727)Jade Lovelace2022-03-15
| | | | | | | | | | | | | | | | | | Problem: Not all gdb files are recognized. Solution: Add a few more patterns for gdb. (closes https://github.com/vim/vim/pull/9956) https://github.com/vim/vim/commit/8d5e514d77bd4b1956656ad2be2ce7094bd43a72
* | | fix(paste): escape control characters in Cmdline modezeertzjq2022-03-15
| | |
* | | fix(paste): deal with trailing new line in chunkzeertzjq2022-03-15
| | |
* | | fix(paste): avoid edges cases caused by empty chunkzeertzjq2022-03-15
| | |
* | | refactor(paste): do not print dots in cmdline modezeertzjq2022-03-15
| | |