-
Notifications
You must be signed in to change notification settings - Fork 3
Migration guide
Tip
Run :checkhealth helpview
with your old config and copy the shown config(near the bottom) to easily migrate from and old version.
{
- modes = { "n", "no", "c" },
- hybrid_modes = nil,
- buf_ignore = nil,
- callbacks = {
- on_enable = nil,
- on_disable = nil,
- on_mode_change = nil,
- },
highlight_groups = {},
- arguments = {},
- code_blocks = {},
- group_names = {},
- headings = {},
- horizontal_rules = {},
- inline_codes = {},
- keycodes = {},
- mention_links = {},
- modelines = {
- style = "expanded",
- icon_hl = nil,
- selector_hl = nil,
- surround_hl = nil,
- option_hl = nil
- },
- notes = {},
- option_links = {},
- tag_links = {},
- title = {},
+ preview = {
+ modes = {},
+ hybrid_modes = {},
+ filetypes = {},
+ ignore_buftypes = {},
+ ignore_previews = {},
+ callbacks = {
+ on_enable = nil,
+ on_disable = nil,
+ on_attach = nil,
+ on_detach = nil,
+ on_hybrid_enable = nil,
+ on_hybrid_disable = nil,
+ }
+ },
+ vimdoc = {
+ arguments = {},
+ code_blocks = {},
+ highlight_groups = {},
+ headings = {},
+ horizontal_rules = {},
+ inline_codes = {},
+ keycodes = {},
+ taglinks = {},
+ modelines = {},
+ notes = {},
+ optionlinks = {},
+ taglinks = {},
+ }
}
v2
introduces the following breaking changes,
-
modes
has been moved topreview
. -
buf_ignore
has been renamed toignore_buftypes
and moved topreview
. -
callbacks
has been moved topreview
. -
arguments
has been moved tovimdoc
. -
code_blocks
has been moved tovimdoc
. -
group_names
has been renamed tohighlight_groups
and moved tovimdoc
. -
headings
has been moved tovimdoc
. -
horizontal_rules
has been moved tovimdoc
. -
inline_codes
has been moved tovimdoc
. -
keycodes
has been moved tovimdoc
. -
mention_links
has been renamed totaglinks
and moved tovimdoc
. -
modelines
has been completely change and has been moved tovimdoc
. -
notes
has been moved tovimdoc
. -
option_links
has been renamed tooptionlinks
and moved tovimdoc
. -
tag_links
has been renamed totaglinks
and moved tovimdoc
. -
title
has been removed. -
horizontal_rules
has been moved tovimdoc
. -
horizontal_rules
has been moved tovimdoc
.
Also available in vimdoc, :h helpview.nvim-migration
.