diff --git a/config/plugins.vimrc b/config/plugins.vimrc index d62dfef..d5bea04 100644 --- a/config/plugins.vimrc +++ b/config/plugins.vimrc @@ -56,8 +56,8 @@ 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 " . getcwd() . " -type f -name '*.dll'")) + \ split(system("find '/opt/Unity/Editor/Data/' -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