From c573a75dd7f618a0cfe3eba530ace55892333204 Mon Sep 17 00:00:00 2001 From: n0m1s Date: Fri, 4 Oct 2019 11:31:40 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20UnityHub=20assemblies=20se?= =?UTF-8?q?arch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/plugins.vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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