summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-25 01:27:28 +0100
committerw0rp <devw0rp@gmail.com>2018-07-25 01:27:28 +0100
commit06132954b12ba87c7bba8fb7d5a40e4ff8b774e8 (patch)
tree05c07fb32c7082d5c194d635c33bde30d4b5ac66 /autoload/ale.vim
parent9f8c37e17c053772a83619a949d8eef639968b24 (diff)
downloadale-06132954b12ba87c7bba8fb7d5a40e4ff8b774e8.zip
Switch to v:t_ variables for type checks
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