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', 'Type'}, ['bg+'] = {'bg', 'Comment'}, ['hl+'] = {'fg', '@fzf.hlplus'}, ['info'] = {'fg', 'PreProc'}, ['prompt'] = {'fg', 'Conditional'}, ['pointer'] = {'fg', 'Exception'}, ['marker'] = {'fg', 'Keyword'}, ['spinner'] = {'fg', 'Label'}, ['header'] = {'fg', 'Comment'} }, previewers = { builtin = { extensions = { ['png'] = { 'chafa', '-f', 'symbols', '{file}' }, ['gif'] = { 'chafa', '-f', 'symbols', '{file}' }, ['svg'] = { 'chafa', '-f', 'symbols', '{file}' }, ['jpg'] = { 'chafa', '-f', 'symbols', '{file}' }, ['jpeg'] = { 'chafa', '-f', 'symbols', '{file}' } } } } }) end }, -- Syntaxes 'ARM9/snes-syntax-vim', 'https://git.sr.ht/~torresjrjr/gemini.vim', --'Debugging { 'mfussenegger/nvim-dap', dependencies = { 'nvim-neotest/nvim-nio' } }, 'rcarriga/nvim-dap-ui', 'mxsdev/nvim-dap-vscode-js', -- Editing 'RRethy/nvim-treesitter-endwise', { 'windwp/nvim-autopairs', event = "InsertEnter", config = true }, 'michaeljsmith/vim-indent-object', { 'danymat/neogen', config = true }, -- Treesitter 'nvim-treesitter/nvim-treesitter', 'https://git.sr.ht/~rbdr/tree-sitter-api-notation', -- LSP { 'neovim/nvim-lspconfig', lazy = false, dependencies = { { 'ms-jpq/coq_nvim', branch = 'coq' }, { 'ms-jpq/coq.artifacts', branch = 'artifacts' }, { 'ms-jpq/coq.thirdparty', branch = '3p' } }, init = function() vim.g.coq_settings = { auto_start = 'shut-up', } end, }, { "folke/lazydev.nvim", ft = "lua", opts = {}, }, -- Tools 'mbbill/undotree', 'vim-scripts/LargeFile', 'tpope/vim-fugitive', 'milkypostman/vim-togglelist', { 'folke/which-key.nvim', event = 'VeryLazy', init = function() vim.o.timeout = true vim.o.timeoutlen = 300 end, opts = {} }, { 'stevearc/oil.nvim', opts = { keymaps = { [''] = false, [''] = 'actions.preview' } } }, 'https://git.sr.ht/~rbdr/nota.nvim', 'https://git.sr.ht/~rbdr/oleoboard.nvim', })