From 5649955821d2c1bc1f5b7bba0c699609e48816c1 Mon Sep 17 00:00:00 2001 From: Lucas Noki Date: Sat, 14 Dec 2019 04:48:57 +0100 Subject: [PATCH] Fixed typos, Implemented module interface --- modules/vim/__init__.py | 6 +++--- modules/vim/module.py | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/vim/__init__.py b/modules/vim/__init__.py index 7735409..68d9102 100644 --- a/modules/vim/__init__.py +++ b/modules/vim/__init__.py @@ -1,4 +1,4 @@ -from .module import module +from .module import VimModule -def getModule(): - return vimModule() \ No newline at end of file +def get_module(): + return VimModule() diff --git a/modules/vim/module.py b/modules/vim/module.py index c6a6375..840d8eb 100644 --- a/modules/vim/module.py +++ b/modules/vim/module.py @@ -1,7 +1,9 @@ -class vimModule: +from IModule import IModule + +class VimModule(IModule): def __init__(self): pass - def getCommand(self): + def get_command(self): plugins = [ ("1. Colorschemes", "Plug 'https://github.com/rafi/awesome-vim-colorschemes.git'"),