diff --git a/plugin/wordnet-cmp.vim b/plugin/wordnet-cmp.vim index 016e4a9..d5df127 100644 --- a/plugin/wordnet-cmp.vim +++ b/plugin/wordnet-cmp.vim @@ -1,5 +1,5 @@ -if !has("python3") - echo "vim has to be compiled with +python3 to run this" +if !has('python3') + echo 'vim has to be compiled with +python3 to run this' finish endif diff --git a/python/plugin.py b/python/plugin.py index 39307df..1f539a4 100644 --- a/python/plugin.py +++ b/python/plugin.py @@ -12,7 +12,7 @@ def install(package: str): # This is the quick and dirty way to get packages installed if they are not already installed try: - import vim + import vim # pylint: disable=import-error except Exception as e: print("No vim module available outside vim") raise e @@ -51,5 +51,5 @@ def query(): # Strip and clean the word cword = cword.strip() assert isinstance(cword, str) - # TODO: add cleaning logic here + # TODO: add cleaning logic here # pylint: disable return cword