File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
plugins/by-name/easy-dotnet Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,14 @@ lib.nixvim.plugins.mkNeovimPlugin {
3838 }
3939 '' ;
4040
41- extraConfig = cfg : {
41+ extraConfig = cfg : opts : {
4242 warnings = lib . nixvim . mkWarnings "plugins.easy-dotnet" (
4343 lib . mapAttrsToList
4444 ( pickerName : pluginName : {
45- when = ( cfg . settings . picker or null == pickerName ) && ( ! config . plugins . ${ pluginName } . enable ) ;
46- message = "You have chosen to use '${ pickerName } ' as a picker but 'plugins.${ pluginName } ' is not enabled." ;
45+ when = ( cfg . settings . picker or null == pickerName ) && ! config . plugins . ${ pluginName } . enable ;
46+ message = ''
47+ You have defined `${ opts . settings } .picker = "${ pickerName } "` but `plugins.${ pluginName } ` is not enabled.
48+ '' ;
4749 } )
4850 {
4951 fzf = "fzf-lua" ;
You can’t perform that action at this time.
0 commit comments