Formatting

This commit is contained in:
Marcel Schwarz 2019-12-14 05:47:33 +01:00
parent 1366b53c20
commit 100cdb97a7

View File

@ -1,17 +1,19 @@
from IModule import IModule from IModule import IModule
class VimModule(IModule): class VimModule(IModule):
def __init__(self): def __init__(self):
pass super().__init__()
def get_command(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'"),
("2. Unix Operations", "Plug 'https://github.com/tpope/vim-eunuch.git'"), ("2. Unix Operations", "Plug 'https://github.com/tpope/vim-eunuch.git'"),
("3. Emmet", "Plug 'https://github.com/mattn/emmet-vim.git'"), ("3. Emmet", "Plug 'https://github.com/mattn/emmet-vim.git'"),
("4. Meta5 Theme", "Plug 'https://github.com/christophermca/meta5.git'"), ("4. Meta5 Theme", "Plug 'https://github.com/christophermca/meta5.git'"),
("5. Nerdtree", "Plug 'https://github.com/scrooloose/nerdtree'"), ("5. Nerdtree", "Plug 'https://github.com/scrooloose/nerdtree'"),
("6. Lightline", "Plug 'https://github.com/itchyny/lightline.vim'") ("6. Lightline", "Plug 'https://github.com/itchyny/lightline.vim'")
] ]
print("Verfügbare Plugins:\n") print("Verfügbare Plugins:\n")
@ -25,7 +27,7 @@ class VimModule(IModule):
user_input = [int(userInput) for userInput in input("Enter multiple value: ").split()] user_input = [int(userInput) for userInput in input("Enter multiple value: ").split()]
clean_plugin_list = set(user_input) clean_plugin_list = set(user_input)
#print out selected plugins # print out selected plugins
for element in clean_plugin_list: for element in clean_plugin_list:
selection = element - 1 selection = element - 1
try: try: