X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/8ed3e3d07ea3e6d62e3e533e69f96a0ff148cd5d..c6800e0c659eba5b22190bf6ae0ba563a4170661:/autoload/black.vim?ds=inline 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")