summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim
index 6d1e8521..ee32a9a6 100644
--- a/autoload/ale.vim
+++ b/autoload/ale.vim
@@ -95,7 +95,7 @@ function! ale#Queue(delay, ...) abort
throw "linting_flag must be either '' or 'lint_file'"
endif
- if type(l:buffer) != type(0)
+ if type(l:buffer) isnot v:t_number
throw 'buffer_number must be a Number'
endif