We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9113038 commit 10e5066Copy full SHA for 10e5066
plugins/languages/otter.nix
@@ -83,4 +83,14 @@ helpers.neovim-plugin.mkNeovimPlugin config {
83
When true, otter handles these cases fully. This is a (minor) performance hit.
84
'';
85
};
86
+
87
+ extraConfig = cfg: {
88
+ warnings =
89
+ lib.optional (cfg.enable && config.plugins.treesitter.settings.highlight.enable == null)
90
+ ''
91
+ NixVim(plugins.otter): you have enabled otter, but `plugins.treesitter.settings.highlight.enable` is not enabled.
92
+ Otter functionality might not work as expected without it and `plugins.treesitter.enable` enabled.
93
+ '';
94
+ };
95
96
}
0 commit comments