]> git.r.bdr.sh - rbdr/dotfiles/blame - config/nvim/lua/plugins.lua
Use treesitter in neovim
[rbdr/dotfiles] / config / nvim / lua / plugins.lua
CommitLineData
ce349909
RBR
1local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
2if 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 })
11end
12vim.opt.rtp:prepend(lazypath)
13
14require('lazy').setup({
af913f93
RBR
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 },
ce349909
RBR
45
46 -- Syntaxes
47 'https://git.sr.ht/~rbdr/api-notation.vim',
ce349909 48 'ARM9/snes-syntax-vim',
ce349909 49 'https://git.sr.ht/~torresjrjr/gemini.vim',
ce349909 50
cf43e2c2 51 -- Debugging
cf43e2c2
RBR
52 'mfussenegger/nvim-dap',
53 'rcarriga/nvim-dap-ui',
54
ce349909
RBR
55 -- Editing
56 'tpope/vim-endwise',
57 'rstacruz/vim-closer',
58 'michaeljsmith/vim-indent-object',
59
3c6ddc92
RBR
60 -- Treesitter
61 'nvim-treesitter/nvim-treesitter',
62
73a2d994
RBR
63 -- LSP
64 'neovim/nvim-lspconfig',
65 'folke/neodev.nvim',
66
ce349909 67 -- Tools
ce349909
RBR
68 'vim-scripts/LargeFile',
69 'tpope/vim-fugitive',
af913f93 70 'milkypostman/vim-togglelist'
ce349909 71})