From 35e77f2a6db2ea8af2258a14bf7c8775e9209e9e Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Tue, 10 Dec 2024 21:27:15 -0500 Subject: [PATCH] chore: move disabled specs to disabled.lua --- .config/nvim/lua/plugins/colorizer.lua | 25 ------------------- .config/nvim/lua/plugins/disabled.lua | 31 +++++++++++++++++++++++- .config/nvim/lua/plugins/icon-picker.lua | 10 -------- 3 files changed, 30 insertions(+), 36 deletions(-) delete mode 100644 .config/nvim/lua/plugins/colorizer.lua delete mode 100644 .config/nvim/lua/plugins/icon-picker.lua diff --git a/.config/nvim/lua/plugins/colorizer.lua b/.config/nvim/lua/plugins/colorizer.lua deleted file mode 100644 index b93c884..0000000 --- a/.config/nvim/lua/plugins/colorizer.lua +++ /dev/null @@ -1,25 +0,0 @@ -return { - 'norcalli/nvim-colorizer.lua', - ft = { - 'markdown', - 'javascript', - 'html', - 'css', - 'python', - 'json', - 'lua', - 'toml', - 'yaml', - }, - opts = { - 'css', - 'javascript', - 'html', - 'markdown', - 'python', - 'json', - 'lua', - 'toml', - 'yaml', - }, -} diff --git a/.config/nvim/lua/plugins/disabled.lua b/.config/nvim/lua/plugins/disabled.lua index f51c56b..5de4df8 100644 --- a/.config/nvim/lua/plugins/disabled.lua +++ b/.config/nvim/lua/plugins/disabled.lua @@ -3,11 +3,40 @@ return { -- disabled while testing ccc 'norcalli/nvim-colorizer.lua', enabled = false, + ft = { + 'markdown', + 'javascript', + 'html', + 'css', + 'python', + 'json', + 'lua', + 'toml', + 'yaml', + }, + opts = { + 'css', + 'javascript', + 'html', + 'markdown', + 'python', + 'json', + 'lua', + 'toml', + 'yaml', + }, }, { -- replaced with telescope-symbols 'ziontee113/icon-picker.nvim', enabled = false, + dependencies = { + 'stevearc/dressing.nvim', + }, + cmd = { 'IconPickerNormal', 'IconPickerYank', 'IconPickerInsert' }, + opts = { + disable_legacy_commands = true, + }, }, { -- TODO: decide between this, obsidian, and mkdnflow @@ -170,4 +199,4 @@ return { require('telescope').load_extension('undo') end, }, -} \ No newline at end of file +} diff --git a/.config/nvim/lua/plugins/icon-picker.lua b/.config/nvim/lua/plugins/icon-picker.lua deleted file mode 100644 index f618202..0000000 --- a/.config/nvim/lua/plugins/icon-picker.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - 'ziontee113/icon-picker.nvim', - dependencies = { - 'stevearc/dressing.nvim', - }, - cmd = { 'IconPickerNormal', 'IconPickerYank', 'IconPickerInsert' }, - opts = { - disable_legacy_commands = true, - }, -}