From 9c0c6c7308d8190169b67d3b39a3ceed5cbf3bdd Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 30 May 2023 12:56:18 -0500 Subject: [PATCH] disable lua snip --- .../private_dot_config/nvim/lua/plugins/builtins.lua | 4 ---- .../private_dot_config/nvim/lua/plugins/disabled.lua | 12 ++++++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 home/private_dot_config/nvim/lua/plugins/disabled.lua diff --git a/home/private_dot_config/nvim/lua/plugins/builtins.lua b/home/private_dot_config/nvim/lua/plugins/builtins.lua index fafcc6f..fc74f0c 100644 --- a/home/private_dot_config/nvim/lua/plugins/builtins.lua +++ b/home/private_dot_config/nvim/lua/plugins/builtins.lua @@ -1,8 +1,4 @@ return { - { - "folke/tokyonight.nvim", - enabled = false, - }, { "LazyVim/LazyVim", version = false, diff --git a/home/private_dot_config/nvim/lua/plugins/disabled.lua b/home/private_dot_config/nvim/lua/plugins/disabled.lua new file mode 100644 index 0000000..1024791 --- /dev/null +++ b/home/private_dot_config/nvim/lua/plugins/disabled.lua @@ -0,0 +1,12 @@ +local function disable(plugins) + local disabled = {} + for _, plugin in ipairs(plugins) do + table.insert(disabled, { plugin, enabled = false }) + end + return disabled +end + +return disable({ + "folke/tokyonight.nvim", + "L3MON4D3/LuaSnip", +})