Skip to content

Commit

Permalink
feat: cleanup plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
cpea2506 committed Oct 22, 2023
1 parent 0d3ad49 commit fab1f06
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 44 deletions.
1 change: 0 additions & 1 deletion lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"nvim-surround": { "branch": "main", "commit": "1c2ef599abeeb98e40706830bcd27e90e259367a" },
"nvim-tree.lua": { "branch": "master", "commit": "83b699533b279af6d207d6c3860d4301556d65b4" },
"nvim-treesitter": { "branch": "master", "commit": "0179a89656b4ce395a4487c07ae385b8425524ae" },
"nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "92e688f013c69f90c9bbd596019ec10235bc51de" },
"nvim-web-devicons": { "branch": "master", "commit": "f0267921c845c42685968401bc49aa65e18d3e09" },
"one_monokai.nvim": { "branch": "main", "commit": "801e0515d192b98017c4ec48fd4c1fbaac2e01eb" },
Expand Down
File renamed without changes.
19 changes: 2 additions & 17 deletions lua/pea/config/presence.lua
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
return function()
local client_id = {
default = "793271441293967371",
vs_code = "383226320970055681",
coc_nvim = "768090036633206815",
pea_vim = "914799712794705961",
}

local log_levels = {
none = nil,
error = "error",
warn = "warn",
info = "info",
debug = "debug",
}

require("presence").setup {
neovim_image_text = "LunarVim",
main_image = "file",
log_level = log_levels.none,
client_id = client_id.pea_vim,
log_level = nil,
client_id = "914799712794705961",
show_time = false,
workspace_text = function()
return "Crababarian 🦀"
Expand Down
File renamed without changes.
48 changes: 22 additions & 26 deletions lua/pea/plugins.lua
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
local plugins = {
"cpea2506/one_monokai.nvim",
{
"cpea2506/relative-toggle.nvim",
event = "BufRead",
},
{
"cpea2506/presence.nvim",
event = "BufRead",
config = require "pea.config.presence",
},
{
"jmederosalvarado/roslyn.nvim",
config = require "pea.config.roslyn",
ft = "cs",
config = require "pea.config.roslyn",
},
{
"luckasRanarison/clear-action.nvim",
config = require "pea.config.clear_action",
event = "BufRead",
config = require "pea.config.clear_action",
},
{
"folke/flash.nvim",
event = "BufRead",
config = require "pea.config.flash",
event = "VeryLazy",
},
{
"akinsho/git-conflict.nvim",
config = require "pea.config.conflict",
event = "BufRead",
},
{
"cpea2506/relative-toggle.nvim",
event = "BufRead",
config = require "pea.config.conflict",
},
{
"chrishrb/gx.nvim",
event = "BufEnter",
event = "BufRead",
config = require "pea.config.gx",
},
{
Expand All @@ -35,7 +40,7 @@ local plugins = {
},
{
"asiryk/auto-hlsearch.nvim",
event = "VeryLazy",
event = "BufRead",
config = require "pea.config.hlsearch",
},
{
Expand All @@ -49,13 +54,13 @@ local plugins = {
},
{
"folke/noice.nvim",
event = "VeryLazy",
event = "BufRead",
config = require "pea.config.noice",
dependencies = "MunifTanjim/nui.nvim",
},
{
"ur4ltz/move.nvim",
event = "VeryLazy",
event = "BufRead",
},
{
"hrsh7th/cmp-nvim-lsp-signature-help",
Expand All @@ -65,10 +70,6 @@ local plugins = {
"lukas-reineke/cmp-rg",
event = "InsertEnter",
},
{
"windwp/nvim-ts-autotag",
ft = { "html", "typescriptreact", "svelte" },
},
{
"TheBlob42/houdini.nvim",
event = "InsertEnter",
Expand All @@ -92,28 +93,23 @@ local plugins = {
},
{
"stevearc/dressing.nvim",
event = "VeryLazy",
event = "BufRead",
config = require "pea.config.dressing",
},
{
"nacro90/numb.nvim",
event = "VeryLazy",
keys = ":",
config = require "pea.config.numb",
},
{
"Saecki/crates.nvim",
event = "BufRead Cargo.toml",
config = require "pea.config.nvim_crates",
},
{
"cpea2506/presence.nvim",
event = "BufRead",
config = require "pea.config.presence",
config = require "pea.config.crates",
},
{
"kylechui/nvim-surround",
event = "VeryLazy",
config = require "pea.config.nvim_surround",
event = "BufRead",
config = require "pea.config.surround",
},
{
"folke/trouble.nvim",
Expand Down

0 comments on commit fab1f06

Please sign in to comment.