From 7c98011acf20fdd5dc7254d5d605197ad1126e7d Mon Sep 17 00:00:00 2001 From: n0m1s Date: Fri, 4 Oct 2019 11:50:14 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=87=20lowering=20C#=20warning=20level?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/plugins.vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/plugins.vimrc b/config/plugins.vimrc index c4ca287..b48ca16 100644 --- a/config/plugins.vimrc +++ b/config/plugins.vimrc @@ -54,10 +54,13 @@ if len(g:ale_cpp_clang_includes) endif " C# +let g:ale_cs_mcsc_options = ' /p:WarningLevel=3' let g:ale_cs_mcsc_source = getcwd() let g:ale_cs_mcsc_assemblies = \ 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_options = g:ale_cs_mcsc_options let g:ale_cs_csc_source = g:ale_cs_mcsc_source let g:ale_cs_csc_assemblies = g:ale_cs_mcsc_assemblies