]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - config/nvim/lua/plugins.lua
Restore tab completion and diff colors
[rbdr/dotfiles] / config / nvim / lua / plugins.lua
index 7c5f4889cda8a0338adbaf5afc6d953799de7ad9..17f2fb4d7b1bcf5b1d1de6b38a6d14a62132fb59 100644 (file)
@@ -12,38 +12,61 @@ end
 vim.opt.rtp:prepend(lazypath)
 
 require('lazy').setup({
-  {'fzf', dir=vim.env.FZF_VIM_PATH},
+  {
+    "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
+  'ms-jpq/coq_nvim',
   'tpope/vim-endwise',
   'rstacruz/vim-closer',
   'michaeljsmith/vim-indent-object',
 
-  -- Distraction free editing
-  'junegunn/goyo.vim',
-  'junegunn/limelight.vim',
+  -- Treesitter
+  'nvim-treesitter/nvim-treesitter',
+  'https://git.sr.ht/~rbdr/tree-sitter-api-notation',
+
+  -- LSP
+  'neovim/nvim-lspconfig',
+  'folke/neodev.nvim',
 
   -- Tools
-  {'neoclide/coc.nvim', branch='release'},
   'vim-scripts/LargeFile',
   'tpope/vim-fugitive',
-  'milkypostman/vim-togglelist',
-  'jremmen/vim-ripgrep',
+  'milkypostman/vim-togglelist'
 })