summaryrefslogtreecommitdiff
path: root/ale_linters/cs
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-03-02 20:57:55 +0000
committerw0rp <devw0rp@gmail.com>2018-03-02 20:57:55 +0000
commitb6bf6ecdbc692f05f0f89eee31018c2d659b35aa (patch)
tree88ae7221e842502d78bd8c7e5282cee950324536 /ale_linters/cs
parent540952ca8e46d7be064b020d8ff308b205e7920c (diff)
downloadale-b6bf6ecdbc692f05f0f89eee31018c2d659b35aa.zip
Try to fix it again
Diffstat (limited to 'ale_linters/cs')
-rw-r--r--ale_linters/cs/mcsc.vim2
1 files changed, 1 insertions, 1 deletions
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