From 447917e3485ae6ff17e6dbc6d21be351cd152753 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 27 Apr 2017 00:15:16 +0100 Subject: #427 Output buffer variables when buffer numbers are strings --- autoload/ale.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload') diff --git a/autoload/ale.vim b/autoload/ale.vim index b911c215..b9cd648f 100644 --- a/autoload/ale.vim +++ b/autoload/ale.vim @@ -113,5 +113,5 @@ endfunction function! ale#Var(buffer, variable_name) abort let l:full_name = 'ale_' . a:variable_name - return getbufvar(a:buffer, l:full_name, g:[l:full_name]) + return getbufvar(str2nr(a:buffer), l:full_name, g:[l:full_name]) endfunction -- cgit v1.2.3