Fixed typos, Implemented module interface

This commit is contained in:
Lucas Noki 2019-12-14 04:48:57 +01:00 committed by Marcel Schwarz
parent 524559d5e0
commit 5649955821
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
from .module import module from .module import VimModule
def getModule(): def get_module():
return vimModule() return VimModule()

View File

@ -1,7 +1,9 @@
class vimModule: from IModule import IModule
class VimModule(IModule):
def __init__(self): def __init__(self):
pass pass
def getCommand(self): def get_command(self):
plugins = [ plugins = [
("1. Colorschemes", "Plug 'https://github.com/rafi/awesome-vim-colorschemes.git'"), ("1. Colorschemes", "Plug 'https://github.com/rafi/awesome-vim-colorschemes.git'"),