aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins.lua
blob: c4e313a80590f4affba4becebfb36487ac1add11 (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
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    'git',
    'clone',
    '--filter=blob:none',
    'https://github.com/folke/lazy.nvim.git',
    '--branch=stable', -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

require('lazy').setup({
  {
    "ibhagwan/fzf-lua",
    config = function()
      -- calling `setup` is optional for customization
      require("fzf-lua").setup({
        winopts={
          width=1,
          height=0.4,
          row=1
        },
        fzf_opts={
          ['--layout']='default'
        },
        fzf_colors = {
          ['fg'] = {'fg', 'Normal'},
          ['bg'] = {'bg', 'Normal'},
          ['hl'] = {'fg', 'Comment'},
          ['fg+'] = {'fg', 'CursorLine'},
          ['bg+'] = {'bg', 'CursorLine'},
          ['hl+'] = {'fg', 'Statement'},
          ['info'] = {'fg', 'PreProc'},
          ['prompt'] = {'fg', 'Conditional'},
          ['pointer'] = {'fg', 'Exception'},
          ['marker'] = {'fg', 'Keyword'},
          ['spinner'] = {'fg', 'Label'},
          ['header'] = {'fg', 'Comment'}
        }
      })
    end
  },

  -- Syntaxes
  'https://git.sr.ht/~rbdr/api-notation.vim',
  'elzr/vim-json',
  'othree/yajs.vim',
  'ARM9/snes-syntax-vim',
  'leafgarland/typescript-vim',
  'leafOfTree/vim-svelte-plugin',
  'bumaociyuan/vim-swift',
  'udalov/kotlin-vim',
  'tikhomirov/vim-glsl',
  'jparise/vim-graphql',
  'digitaltoad/vim-pug',
  'https://git.sr.ht/~torresjrjr/gemini.vim',
  'rust-lang/rust.vim',
  'dart-lang/dart-vim-plugin',
  'ziglang/zig.vim',

  -- Debugging
  'mfussenegger/nvim-dap',
  'rcarriga/nvim-dap-ui',

  -- Editing
  'tpope/vim-endwise',
  'rstacruz/vim-closer',
  'michaeljsmith/vim-indent-object',

  -- LSP
  'neovim/nvim-lspconfig',
  'folke/neodev.nvim',

  -- Tools
  'vim-scripts/LargeFile',
  'tpope/vim-fugitive',
  'milkypostman/vim-togglelist'
})