diff options
author | w0rp <devw0rp@gmail.com> | 2018-07-25 01:27:28 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-07-25 01:27:28 +0100 |
commit | 06132954b12ba87c7bba8fb7d5a40e4ff8b774e8 (patch) | |
tree | 05c07fb32c7082d5c194d635c33bde30d4b5ac66 /autoload/ale.vim | |
parent | 9f8c37e17c053772a83619a949d8eef639968b24 (diff) | |
download | ale-06132954b12ba87c7bba8fb7d5a40e4ff8b774e8.zip |
Switch to v:t_ variables for type checks
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r-- | autoload/ale.vim | 2 |
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 |