Skip to content

Commit

Permalink
plugins/treesitter-context: remove old deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Nov 23, 2023
1 parent a351f7a commit 034a870
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions plugins/languages/treesitter/treesitter-context.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,6 @@
with lib; let
cfg = config.plugins.treesitter-context;
in {
# Those warnings were introduced on 08/25/2023. TODO: remove them in October 2023.
imports = let
basePluginPath = ["plugins" "treesitter-context"];
in [
(
mkRenamedOptionModule
(basePluginPath ++ ["maxWindowHeight"])
(basePluginPath ++ ["minWindowHeight"])
)
(
mkRemovedOptionModule (basePluginPath ++ ["patterns"]) ""
)
(
mkRemovedOptionModule (basePluginPath ++ ["extractPatterns"]) ""
)
];
options.plugins.treesitter-context =
helpers.extraOptionsOptions
// {
Expand Down

0 comments on commit 034a870

Please sign in to comment.