mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 11:36:07 +01:00
plugins: remove deprecations "after 24.11" or less
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
be72c48997
commit
29ec33e1a8
86 changed files with 27 additions and 3578 deletions
|
|
@ -19,24 +19,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
MattSturgeon
|
||||
];
|
||||
|
||||
# TODO introduced 2024-03-12: remove after 24.11
|
||||
imports =
|
||||
let
|
||||
basePluginPath = [
|
||||
"colorschemes"
|
||||
name
|
||||
];
|
||||
in
|
||||
[
|
||||
(lib.mkRenamedOptionModule (basePluginPath ++ [ "customColorScheme" ]) (
|
||||
basePluginPath ++ [ "colorscheme" ]
|
||||
))
|
||||
(lib.mkRenamedOptionModule (basePluginPath ++ [ "useTruecolor" ]) [
|
||||
"options"
|
||||
"termguicolors"
|
||||
])
|
||||
];
|
||||
|
||||
settingsExample = {
|
||||
telescope_borders = true;
|
||||
indentblankline = false;
|
||||
|
|
|
|||
|
|
@ -13,103 +13,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO introduced 2024-03-27: remove 2024-05-27
|
||||
optionsRenamedToSettings = [
|
||||
"flavour"
|
||||
[
|
||||
"background"
|
||||
"light"
|
||||
]
|
||||
[
|
||||
"background"
|
||||
"dark"
|
||||
]
|
||||
"transparentBackground"
|
||||
[
|
||||
"dimInactive"
|
||||
"enabled"
|
||||
]
|
||||
[
|
||||
"dimInactive"
|
||||
"shade"
|
||||
]
|
||||
[
|
||||
"dimInactive"
|
||||
"percentage"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"comments"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"conditionals"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"loops"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"functions"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"keywords"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"strings"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"variables"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"numbers"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"booleans"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"properties"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"types"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"operators"
|
||||
]
|
||||
"colorOverrides"
|
||||
"customHighlights"
|
||||
"integrations"
|
||||
{
|
||||
old = "showBufferEnd";
|
||||
new = "show_end_of_buffer";
|
||||
}
|
||||
{
|
||||
old = "terminalColors";
|
||||
new = "term_colors";
|
||||
}
|
||||
{
|
||||
old = "disableItalic";
|
||||
new = "no_italic";
|
||||
}
|
||||
{
|
||||
old = "disableBold";
|
||||
new = "no_bold";
|
||||
}
|
||||
{
|
||||
old = "disableUnderline";
|
||||
new = "no_underline";
|
||||
}
|
||||
];
|
||||
|
||||
settingsOptions =
|
||||
let
|
||||
flavours = [
|
||||
|
|
|
|||
|
|
@ -9,42 +9,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# Introduced January 31 2024
|
||||
# TODO remove in early March 2024.
|
||||
imports =
|
||||
map
|
||||
(
|
||||
optionName:
|
||||
lib.mkRemovedOptionModule [
|
||||
"colorschemes"
|
||||
"gruvbox"
|
||||
optionName
|
||||
] "Please use `colorschemes.gruvbox.settings.${lib.nixvim.toSnakeCase optionName}` instead."
|
||||
)
|
||||
[
|
||||
"italics"
|
||||
"bold"
|
||||
"underline"
|
||||
"undercurl"
|
||||
"contrastDark"
|
||||
"contrastLight"
|
||||
"highlightSearchCursor"
|
||||
"numberColumn"
|
||||
"signColumn"
|
||||
"colorColumn"
|
||||
"vertSplitColor"
|
||||
"italicizeComments"
|
||||
"italicizeStrings"
|
||||
"invertSelection"
|
||||
"invertSigns"
|
||||
"invertIndentGuides"
|
||||
"invertTabline"
|
||||
"improvedStrings"
|
||||
"improvedWarnings"
|
||||
"transparentBg"
|
||||
"trueColor"
|
||||
];
|
||||
|
||||
settingsExample = {
|
||||
terminal_colors = true;
|
||||
palette_overrides = {
|
||||
|
|
|
|||
|
|
@ -19,38 +19,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO introduced 2024-03-15: remove 2024-05-15
|
||||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings = [
|
||||
"compile"
|
||||
"undercurl"
|
||||
"commentStyle"
|
||||
"functionStyle"
|
||||
"keywordStyle"
|
||||
"statementStyle"
|
||||
"typeStyle"
|
||||
"transparent"
|
||||
"dimInactive"
|
||||
"terminalColors"
|
||||
[
|
||||
"colors"
|
||||
"palette"
|
||||
]
|
||||
[
|
||||
"colors"
|
||||
"theme"
|
||||
]
|
||||
"theme"
|
||||
[
|
||||
"background"
|
||||
"dark"
|
||||
]
|
||||
[
|
||||
"background"
|
||||
"light"
|
||||
]
|
||||
|
||||
];
|
||||
imports = [
|
||||
(lib.mkRemovedOptionModule
|
||||
[
|
||||
|
|
|
|||
|
|
@ -13,18 +13,6 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO introduced 2024-02-20: remove 2024-04-20
|
||||
deprecateExtraConfig = true;
|
||||
optionsRenamedToSettings = [
|
||||
"contrast"
|
||||
"borders"
|
||||
"disableBackground"
|
||||
"cursorlineTransparent"
|
||||
"enableSidebarBackground"
|
||||
"italic"
|
||||
"uniformDiffBackground"
|
||||
];
|
||||
|
||||
settingsOptions = {
|
||||
contrast = defaultNullOpts.mkBool false ''
|
||||
Make sidebars and popup menus like nvim-tree and telescope have a different background.
|
||||
|
|
|
|||
|
|
@ -20,17 +20,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
config.plugins.lsp.package
|
||||
];
|
||||
|
||||
# TODO introduced 2024-04-07: remove 2024-06-07
|
||||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings = [
|
||||
"palettes"
|
||||
"customPalettes"
|
||||
"italics"
|
||||
"transparentBackground"
|
||||
"caching"
|
||||
"cacheDir"
|
||||
];
|
||||
|
||||
settingsOptions = {
|
||||
palettes = {
|
||||
main = defaultNullOpts.mkStr "dark" ''
|
||||
|
|
|
|||
|
|
@ -12,19 +12,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO introduced 2024-04-15: remove 2024-06-15
|
||||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings = [
|
||||
"boldVertSplit"
|
||||
"darkVariant"
|
||||
"disableBackground"
|
||||
"disableFloatBackground"
|
||||
"disableItalics"
|
||||
"dimNcBackground"
|
||||
"groups"
|
||||
"highlightGroups"
|
||||
];
|
||||
|
||||
settingsOptions = {
|
||||
bold_vert_split = defaultNullOpts.mkBool false ''
|
||||
Use bold vertical separators.
|
||||
|
|
|
|||
|
|
@ -11,45 +11,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO introduced 2024-04-15: remove 2024-06-15
|
||||
optionsRenamedToSettings = [
|
||||
"groups"
|
||||
"highlightGroups"
|
||||
{
|
||||
old = "style";
|
||||
new = "dark_variant";
|
||||
}
|
||||
{
|
||||
old = "dimInactive";
|
||||
new = "dim_inactive_windows";
|
||||
}
|
||||
{
|
||||
old = "transparentBackground";
|
||||
new = [
|
||||
"enable"
|
||||
"transparency"
|
||||
];
|
||||
}
|
||||
];
|
||||
imports =
|
||||
let
|
||||
basePluginPath = [
|
||||
"colorschemes"
|
||||
"rose-pine"
|
||||
];
|
||||
in
|
||||
[
|
||||
(lib.mkRemovedOptionModule (
|
||||
basePluginPath ++ [ "disableItalics" ]
|
||||
) "Use `colorschemes.rose-pine.settings.enable.italics` instead.")
|
||||
(lib.mkRemovedOptionModule (
|
||||
basePluginPath ++ [ "boldVerticalSplit" ]
|
||||
) "Use `colorschemes.rose-pine.settings.highlight_groups` instead.")
|
||||
(lib.mkRemovedOptionModule (
|
||||
basePluginPath ++ [ "transparentFloat" ]
|
||||
) "Use `colorschemes.rose-pine.settings.highlight_groups.NormalFloat` instead.")
|
||||
];
|
||||
|
||||
settingsOptions = {
|
||||
variant =
|
||||
lib.nixvim.mkNullOrOption
|
||||
|
|
|
|||
|
|
@ -12,44 +12,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO introduced 2024-04-15: remove 2024-06-15
|
||||
optionsRenamedToSettings = [
|
||||
"style"
|
||||
"transparent"
|
||||
"terminalColors"
|
||||
[
|
||||
"styles"
|
||||
"comments"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"keywords"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"functions"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"variables"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"sidebars"
|
||||
]
|
||||
[
|
||||
"styles"
|
||||
"floats"
|
||||
]
|
||||
"sidebars"
|
||||
"dayBrightness"
|
||||
"hideInactiveStatusline"
|
||||
"dimInactive"
|
||||
"lualineBold"
|
||||
"onColors"
|
||||
"onHighlights"
|
||||
];
|
||||
|
||||
settingsOptions = {
|
||||
style =
|
||||
defaultNullOpts.mkEnumFirstDefault
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue