diff options
| -rw-r--r-- | lua/lv-colorizer/init.lua | 14 | ||||
| -rw-r--r-- | lua/lv-symbols-outline/init.lua | 15 | ||||
| -rw-r--r-- | lua/lv-which-key/init.lua | 12 | ||||
| -rw-r--r-- | lua/plugins.lua | 36 | 
4 files changed, 2 insertions, 75 deletions
| diff --git a/lua/lv-colorizer/init.lua b/lua/lv-colorizer/init.lua deleted file mode 100644 index abe2f728..00000000 --- a/lua/lv-colorizer/init.lua +++ /dev/null @@ -1,14 +0,0 @@ -local status_ok, colorizer = pcall(require, "colorizer") -if not status_ok then -  return -end -colorizer.setup({ "*" }, { -  RGB = true, -- #RGB hex codes -  RRGGBB = true, -- #RRGGBB hex codes -  RRGGBBAA = true, -- #RRGGBBAA hex codes -  rgb_fn = true, -- CSS rgb() and rgba() functions -  hsl_fn = true, -- CSS hsl() and hsla() functions -  css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB -  css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn -}) --- names    = true;         -- "Name" codes like Blue diff --git a/lua/lv-symbols-outline/init.lua b/lua/lv-symbols-outline/init.lua deleted file mode 100644 index f15b5dfb..00000000 --- a/lua/lv-symbols-outline/init.lua +++ /dev/null @@ -1,15 +0,0 @@ -vim.g.symbols_outline = { -  highlight_hovered_item = true, -  show_guides = true, -  auto_preview = true, -  position = "right", -  keymaps = { -    close = "<Esc>", -    goto_location = "<Cr>", -    focus_location = "o", -    hover_symbol = "<C-space>", -    rename_symbol = "r", -    code_actions = "a", -  }, -  lsp_blacklist = {}, -} diff --git a/lua/lv-which-key/init.lua b/lua/lv-which-key/init.lua index beaaff42..f4551922 100644 --- a/lua/lv-which-key/init.lua +++ b/lua/lv-which-key/init.lua @@ -191,18 +191,6 @@ local mappings = {    },  } --- if O.plugin.trouble.active then ---   mappings["d"] = { ---     name = "Diagnostics", ---     t = { "<cmd>TroubleToggle<cr>", "trouble" }, ---     w = { "<cmd>TroubleToggle lsp_workspace_diagnostics<cr>", "workspace" }, ---     d = { "<cmd>TroubleToggle lsp_document_diagnostics<cr>", "document" }, ---     q = { "<cmd>TroubleToggle quickfix<cr>", "quickfix" }, ---     l = { "<cmd>TroubleToggle loclist<cr>", "loclist" }, ---     r = { "<cmd>TroubleToggle lsp_references<cr>", "references" }, ---   } --- end -  if O.plugin.symbol_outline.active then    vim.api.nvim_set_keymap("n", "<leader>o", ":SymbolsOutline<CR>", { noremap = true, silent = true })    mappings["o"] = "Symbols outline" diff --git a/lua/plugins.lua b/lua/plugins.lua index a9c625ce..c99a212f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -114,9 +114,6 @@ return require("packer").startup(function(use)      end,    } -  -- Color -  use { "christianchiarulli/nvcode-color-schemes.vim", opt = true } -    -- Icons    use { "kyazdani42/nvim-web-devicons" } @@ -150,6 +147,7 @@ return require("packer").startup(function(use)      disable = not O.plugin.dashboard.active,      -- opt = true,    } +    -- Zen Mode    use {      "folke/zen-mode.nvim", @@ -161,16 +159,6 @@ return require("packer").startup(function(use)      disable = not O.plugin.zen.active,    } -  use { -    "norcalli/nvim-colorizer.lua", -    event = "BufWinEnter", -    config = function() -      require "lv-colorizer" -      -- vim.cmd "ColorizerReloadAllBuffers" -    end, -    disable = not O.plugin.colorizer.active, -  } -    -- Treesitter playground    use {      "nvim-treesitter/playground", @@ -205,19 +193,6 @@ return require("packer").startup(function(use)      disable = not O.plugin.ts_context_commentstring.active,    } -  -- Symbol Outline -  use { -    "simrat39/symbols-outline.nvim", -    cmd = "SymbolsOutline", -    disable = not O.plugin.symbol_outline.active, -  } -  -- diagnostics -  use { -    "folke/trouble.nvim", -    cmd = "TroubleToggle", -    disable = not O.plugin.trouble.active, -  } -    -- Debugging    use {      "mfussenegger/nvim-dap", @@ -247,20 +222,13 @@ return require("packer").startup(function(use)    -- Use project for telescope    use {      "nvim-telescope/telescope-project.nvim", -    event = "BufRead", +    event = "BufWinEnter",      setup = function()        vim.cmd [[packadd telescope.nvim]]      end,      disable = not O.plugin.telescope_project.active,    } -  -- Sane gx for netrw_gx bug -  use { -    "felipec/vim-sanegx", -    event = "BufRead", -    disable = not O.plugin.sanegx.active, -  } -    -- Diffview    use {      "sindrets/diffview.nvim", | 
