From 91e4ef68e3743ceaf24129cc0d2531bce9936d49 Mon Sep 17 00:00:00 2001 From: n0m1s Date: Fri, 4 Oct 2019 11:30:30 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20current=20Unity=20project=20DLL=20i?= =?UTF-8?q?nclude?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/plugins.vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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