Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Disable vis-plug

+4 -6
+4 -6
vis/visrc.lua
··· 1 1 require('vis') 2 - local plugin_manager = 'plugins/vis-plug' 3 2 local plugins = { 4 3 --{ 'timoha/vis-acme', theme = true, file = 'acme' }, 5 4 { 'milhnl/vis-format' }, ··· 10 9 { url = 'https://repo.or.cz/vis-parkour.git', alias = 'vis-parkour' } 11 10 } 12 11 13 - function setup_plug() 12 + local function setup_plug() 14 13 if not pcall(require, 'plugins/vis-plug') then 15 14 os.execute('git clone --quiet https://github.com/erf/vis-plug ' .. 16 15 (os.getenv('XDG_CONFIG_HOME') or os.getenv('HOME') .. '/.config') ··· 18 17 end 19 18 return require('plugins/vis-plug') 20 19 end 21 - local plug = setup_plug() 22 - 23 - plug.init(plugins, true) 20 + --local plug = setup_plug() 21 + --plug.init(plugins, true) 24 22 25 - function configure_plugin(name, config) 23 + local function configure_plugin(name, config) 26 24 if vis:module_exist(name) then 27 25 local module = require(name) 28 26 config(module)