]>
Commit | Line | Data |
---|---|---|
1 | local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim' | |
2 | if not vim.loop.fs_stat(lazypath) then | |
3 | vim.fn.system({ | |
4 | 'git', | |
5 | 'clone', | |
6 | '--filter=blob:none', | |
7 | 'https://github.com/folke/lazy.nvim.git', | |
8 | '--branch=stable', -- latest stable release | |
9 | lazypath, | |
10 | }) | |
11 | end | |
12 | vim.opt.rtp:prepend(lazypath) | |
13 | ||
14 | require('lazy').setup({ | |
15 | { | |
16 | "ibhagwan/fzf-lua", | |
17 | config = function() | |
18 | -- calling `setup` is optional for customization | |
19 | require("fzf-lua").setup({ | |
20 | winopts={ | |
21 | width=1, | |
22 | height=0.4, | |
23 | row=1 | |
24 | }, | |
25 | fzf_opts={ | |
26 | ['--layout']='default' | |
27 | }, | |
28 | fzf_colors = { | |
29 | ['fg'] = {'fg', 'Normal'}, | |
30 | ['bg'] = {'bg', 'Normal'}, | |
31 | ['hl'] = {'fg', 'Comment'}, | |
32 | ['fg+'] = {'fg', 'CursorLine'}, | |
33 | ['bg+'] = {'bg', 'CursorLine'}, | |
34 | ['hl+'] = {'fg', 'Statement'}, | |
35 | ['info'] = {'fg', 'PreProc'}, | |
36 | ['prompt'] = {'fg', 'Conditional'}, | |
37 | ['pointer'] = {'fg', 'Exception'}, | |
38 | ['marker'] = {'fg', 'Keyword'}, | |
39 | ['spinner'] = {'fg', 'Label'}, | |
40 | ['header'] = {'fg', 'Comment'} | |
41 | } | |
42 | }) | |
43 | end | |
44 | }, | |
45 | ||
46 | -- Syntaxes | |
47 | 'ARM9/snes-syntax-vim', | |
48 | 'https://git.sr.ht/~torresjrjr/gemini.vim', | |
49 | { "folke/neodev.nvim", opts = {} }, | |
50 | ||
51 | -- Debugging | |
52 | 'mfussenegger/nvim-dap', | |
53 | 'rcarriga/nvim-dap-ui', | |
54 | 'mxsdev/nvim-dap-vscode-js', | |
55 | ||
56 | -- Editing | |
57 | 'ms-jpq/coq_nvim', | |
58 | 'tpope/vim-endwise', | |
59 | 'rstacruz/vim-closer', | |
60 | 'michaeljsmith/vim-indent-object', | |
61 | 'Pocco81/auto-save.nvim', | |
62 | { | |
63 | "danymat/neogen", | |
64 | config = true | |
65 | }, | |
66 | ||
67 | -- Treesitter | |
68 | 'nvim-treesitter/nvim-treesitter', | |
69 | 'https://git.sr.ht/~rbdr/tree-sitter-api-notation', | |
70 | ||
71 | -- LSP | |
72 | 'neovim/nvim-lspconfig', | |
73 | 'folke/neodev.nvim', | |
74 | ||
75 | -- Tools | |
76 | 'vim-scripts/LargeFile', | |
77 | 'tpope/vim-fugitive', | |
78 | 'milkypostman/vim-togglelist', | |
79 | ||
80 | -- Notes | |
81 | { dir = '~/projects/plugins/nota.nvim' } | |
82 | }) |