aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
blob: 88dcfcb26ed319cd8152779d485b9eb86be699b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
return require('lazy').setup({
  -- neorg
  {
    "vhyrro/luarocks.nvim",
  },
  {
    "nvim-neorg/neorg",
    dependencies = { "luarocks.nvim" },
    version = "*", -- Pin Neorg to the latest stable release
  },
  -- Lua
  {
    "folke/zen-mode.nvim",
    opts = {
      -- your configuration comes here
      -- or leave it empty to use the default settings
      -- refer to the configuration section below
    }
  },
  'edkolev/tmuxline.vim',
  'romainl/vim-cool',
  -- common
  'kyazdani42/nvim-web-devicons',
  'tpope/vim-fugitive', -- Git commands
  'lewis6991/gitsigns.nvim',
  'nvim-lualine/lualine.nvim',
  'andymass/vim-matchup', -- matching parens and more
  'RRethy/vim-illuminate',
  -- better quickfix buffer
  'kevinhwang91/nvim-bqf',
  'matbme/JABS.nvim', -- buffer switcher
  -- general dev
  'neovim/nvim-lspconfig',
  { 'glepnir/lspsaga.nvim',            branch = "main" },

  'hrsh7th/nvim-cmp',
  'hrsh7th/cmp-buffer',
  'hrsh7th/cmp-nvim-lua',
  'hrsh7th/cmp-nvim-lsp',
  'hrsh7th/cmp-nvim-lsp-signature-help',
  'hrsh7th/cmp-path',
  'hrsh7th/cmp-vsnip',
  'hrsh7th/vim-vsnip',

  { 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate' },
  'scrooloose/nerdcommenter', -- commenting shortcuts

  'tpope/vim-eunuch',         -- wrappers UNIX commands
  --'tpope/vim-surround',       -- surround characters shortcuts
  'tpope/vim-endwise',        -- wisely add
  'tpope/vim-repeat',         -- repeat for plugins
  -- 'tpope/vim-vinegar', -- make explore better
  {
    'stevearc/oil.nvim',
    opts = {},
    -- Optional dependencies
    dependencies = { "nvim-tree/nvim-web-devicons" },
  },
  {
    'prichrd/netrw.nvim', -- particles for ^
    opts = {
      directory = '', -- Directory icon
      file = '', -- File icon
      use_devicons = true, -- Uses nvim-web-devicons if true, otherwise use the file icon specified above
      mappings = {}, -- Custom key mappings
    }
  },

  'ibhagwan/fzf-lua',

  -- zig
  'ziglang/zig.vim',
  -- go
  'ray-x/go.nvim',

  -- rust
  'rust-lang/rust.vim',
  'simrat39/rust-tools.nvim',

  -- ember
  'joukevandermaas/vim-ember-hbs',
  'joerdav/templ.vim',

  -- debugging
  'nvim-lua/plenary.nvim',
  'mfussenegger/nvim-dap',

  -- jai
  'rluba/jai.vim',

  -- Odin
  'Tetralux/odin.vim',

  'johmsalas/text-case.nvim',

  -- integer base conversions
  'glts/vim-radical',
  'glts/vim-magnum',

  -- SQL
  'tpope/vim-dadbod',
  'nanotee/sqls.nvim',

  'rmagatti/auto-session',
  -- auto close delimiters because lazy
  {
    'windwp/nvim-autopairs',
    event = "InsertEnter",
    config = true,
  },

  'mg979/vim-visual-multi',
  {
    "VonHeikemen/lsp-zero.nvim",
    branch = "v2.x",
    config = false,
    init = function()
      -- Disable automatic setup, we are doing it manually
      vim.g.lsp_zero_extend_cmp = 0
      vim.g.lsp_zero_extend_lspconfig = 0
    end,
    "folke/todo-comments.nvim",
    dependencies = { "nvim-lua/plenary.nvim" },
    opts = {
      keywords = {
        FIX = {
          icon = " ", -- icon used for the sign, and in search results
          color = "error", -- can be a hex color, or a named color (see below)
          alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, -- a set of other keywords that all map to this FIX keywords
          -- signs = false, -- configure signs for some keywords individually
        },
        TODO = { icon = " ", color = "info", alt = { "nocheckin" } },
        HACK = { icon = " ", color = "warning" },
        WARN = { icon = " ", color = "warning", alt = { "WARNING", "XXX" } },
        PERF = { icon = " ", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },
        NOTE = { icon = " ", color = "hint", alt = { "INFO" } },
        TEST = { icon = "⏲ ", color = "test", alt = { "TESTING", "PASSED", "FAILED" } },
      },
    }
  },

  -- movement
  'ggandor/leap.nvim',
  {
    "chentoast/marks.nvim",
    event = "VeryLazy",
    opts = {
    },
    "VonHeikemen/lsp-zero.nvim",
    branch = "v2.x",
    config = false,
    init = function()
      -- Disable automatic setup, we are doing it manually
      vim.g.lsp_zero_extend_cmp = 0
      vim.g.lsp_zero_extend_lspconfig = 0
    end,
    "folke/todo-comments.nvim",
    dependencies = { "nvim-lua/plenary.nvim" },
    opts = {
      keywords = {
        FIX = {
          icon = " ", -- icon used for the sign, and in search results
          color = "error", -- can be a hex color, or a named color (see below)
          alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, -- a set of other keywords that all map to this FIX keywords
          -- signs = false, -- configure signs for some keywords individually
        },
        TODO = { icon = " ", color = "info", alt = { "nocheckin" } },
        HACK = { icon = " ", color = "warning" },
        WARN = { icon = " ", color = "warning", alt = { "WARNING", "XXX" } },
        PERF = { icon = " ", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },
        NOTE = { icon = " ", color = "hint", alt = { "INFO" } },
        TEST = { icon = "⏲ ", color = "test", alt = { "TESTING", "PASSED", "FAILED" } },
      },
    }
  },

  -- movement
  'ggandor/leap.nvim',
  {
    "chentoast/marks.nvim",
    event = "VeryLazy",
    opts = {
    },
  },

  {
    "VonHeikemen/lsp-zero.nvim",
    branch = "v2.x",
    config = false,
    init = function()
      -- Disable automatic setup, we are doing it manually
      vim.g.lsp_zero_extend_cmp = 0
      vim.g.lsp_zero_extend_lspconfig = 0
    end,
  },
})