X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/1d7260050d846d2ba2dd5bb22944b032245c7e51..b0eed7c6bd5f04f0ea6b6592d8a3ab63d8a01252:/autoload/black.vim diff --git a/autoload/black.vim b/autoload/black.vim index 66c5b9c..6c381b4 100644 --- a/autoload/black.vim +++ b/autoload/black.vim @@ -5,9 +5,9 @@ import sys import vim def strtobool(text): - if text.lower() in ['y', 'yes', 't', 'true' 'on', '1']: + if text.lower() in ['y', 'yes', 't', 'true', 'on', '1']: return True - if text.lower() in ['n', 'no', 'f', 'false' 'off', '0']: + if text.lower() in ['n', 'no', 'f', 'false', 'off', '0']: return False raise ValueError(f"{text} is not convertable to boolean")