Switch to v:t_ variables for type checks

This commit is contained in:
w0rp committed 2018-07-25 01:27:28 +01:00
1 parent 9f8c37e17c
commit 06132954b1
17 files changed
+84 -62

No files matched your search

+1 -1
View File
@@ -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