From b6bf6ecdbc692f05f0f89eee31018c2d659b35aa Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 2 Mar 2018 20:57:55 +0000 Subject: Try to fix it again --- ale_linters/cs/mcsc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters') diff --git a/ale_linters/cs/mcsc.vim b/ale_linters/cs/mcsc.vim index f16e4b4a..8a78d3b3 100644 --- a/ale_linters/cs/mcsc.vim +++ b/ale_linters/cs/mcsc.vim @@ -10,7 +10,7 @@ function! s:GetWorkingDirectory(buffer) abort return l:working_directory endif - return fnamemodify(bufname(a:buffer), ':p:h') + return expand('#' . a:buffer . ':p:h') endfunction function! ale_linters#cs#mcsc#GetCommand(buffer) abort -- cgit v1.2.3