diff --git a/config/plugins.vimrc b/config/plugins.vimrc index d5bea04..c4ca287 100644 --- a/config/plugins.vimrc +++ b/config/plugins.vimrc @@ -56,7 +56,7 @@ endif " C# let g:ale_cs_mcsc_source = getcwd() let g:ale_cs_mcsc_assemblies = - \ split(system("find '/opt/Unity/Editor/Data/' -type f -name 'Unity*.dll'"),'\n') + + \ split(system("find $HOME/'Unity/Hub/Editor/' -type f -name 'Unity*.dll'"), '\n') + \ split(system("if [[ '" . getcwd() . "' == *'workspace/unity'* ]]; then find " . getcwd() . " -type f -name '*.dll'; fi"), '\n') let g:ale_cs_csc_source = g:ale_cs_mcsc_source let g:ale_cs_csc_assemblies = g:ale_cs_mcsc_assemblies