Skip to content

Commit

Permalink
chore(config): remove hard deprecated config keys
Browse files Browse the repository at this point in the history
  • Loading branch information
saecki committed Jul 1, 2024
1 parent 5d2751f commit eb62dfb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 93 deletions.
34 changes: 0 additions & 34 deletions doc/crates.txt
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,6 @@ on_attach *crates-config-on_attach*
NOTE: Ignored if |crates-config-autoload| is disabled.


avoid_prerelease *crates-config-avoid_prerelease*
DEPRECATED

text *crates-config-text*
Section type: `TextConfig`

Expand Down Expand Up @@ -828,11 +825,6 @@ popup.padding *crates-config-popup-padding*
The horizontal padding of the popup.


popup.version_date *crates-config-popup-version_date*
DEPRECATED

Please use |crates-config-popup-show_version_date| instead.

popup.text *crates-config-popup-text*
Section type: `PopupTextConfig`

Expand Down Expand Up @@ -1058,11 +1050,6 @@ popup.text.loading *crates-config-popup-text-loading*
Format string used as a loading indicator when fetching dependencies.


popup.text.date *crates-config-popup-text-date*
DEPRECATED

Please use |crates-config-popup-text-version_date| instead.

popup.highlight *crates-config-popup-highlight*
Section type: `PopupHighlightConfig`

Expand Down Expand Up @@ -1354,27 +1341,6 @@ popup.keys.jump_back *crates-config-popup-keys-jump_back*
Key mappings to go back in the popup jump history.


popup.keys.goto_feature *crates-config-popup-keys-goto_feature*
DEPRECATED

Please use |crates-config-popup-keys-goto_item| instead.

*crates-config-popup-keys-jump_forward_feature*
popup.keys.jump_forward_feature
DEPRECATED

Please use |crates-config-popup-keys-jump_forward| instead.

popup.keys.jump_back_feature *crates-config-popup-keys-jump_back_feature*
DEPRECATED

Please use |crates-config-popup-keys-jump_back| instead.

popup.keys.copy_version *crates-config-popup-keys-copy_version*
DEPRECATED

Please use |crates-config-popup-keys-copy_value| instead.

completion *crates-config-completion*
Section type: `CompletionConfig`

Expand Down
59 changes: 0 additions & 59 deletions lua/crates/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,6 @@ entry(M.schema, {
NOTE: Ignored if |crates-config-autoload| is disabled.
]],
})
-- deprecated
entry(M.schema, {
name = "avoid_prerelease",
type = BOOLEAN_TYPE,
deprecated = {
hard = true,
},
})

local schema_text = section_entry(M.schema, {
name = "text",
Expand Down Expand Up @@ -631,15 +623,6 @@ entry(schema_popup, {
The horizontal padding of the popup.
]],
})
-- deprecated
entry(schema_popup, {
name = "version_date",
type = BOOLEAN_TYPE,
deprecated = {
new_field = { "popup", "show_version_date" },
hard = true,
}
})


local schema_popup_text = section_entry(schema_popup, {
Expand Down Expand Up @@ -945,15 +928,6 @@ entry(schema_popup_text, {
Format string used as a loading indicator when fetching dependencies.
]],
})
-- deprecated
entry(schema_popup_text, {
name = "date",
type = STRING_TYPE,
deprecated = {
new_field = { "popup", "text", "version_date" },
hard = true,
}
})


local schema_popup_hl = section_entry(schema_popup, {
Expand Down Expand Up @@ -1348,39 +1322,6 @@ entry(schema_popup_keys, {
Key mappings to go back in the popup jump history.
]],
})
-- deprecated
entry(schema_popup_keys, {
name = "goto_feature",
type = STRING_ARRAY_TYPE,
deprecated = {
new_field = { "popup", "keys", "goto_item" },
hard = true,
}
})
entry(schema_popup_keys, {
name = "jump_forward_feature",
type = STRING_ARRAY_TYPE,
deprecated = {
new_field = { "popup", "keys", "jump_forward" },
hard = true,
}
})
entry(schema_popup_keys, {
name = "jump_back_feature",
type = STRING_ARRAY_TYPE,
deprecated = {
new_field = { "popup", "keys", "jump_back" },
hard = true,
}
})
entry(schema_popup_keys, {
name = "copy_version",
type = STRING_ARRAY_TYPE,
deprecated = {
new_field = { "popup", "keys", "copy_value" },
hard = true,
}
})


local schema_completion = section_entry(M.schema, {
Expand Down

0 comments on commit eb62dfb

Please sign in to comment.