diff --git a/init.lua b/init.lua index 57c9af42..08ce228c 100644 --- a/init.lua +++ b/init.lua @@ -203,7 +203,9 @@ require('lazy').setup({ -- -- For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins { import = 'custom.plugins' }, -}, {}) +}, { + concurrency = 10, +}) -- [[ Setting options ]] -- See `:help vim.o` diff --git a/lua/custom/plugins/colorschemes/arctic.lua b/lua/custom/plugins/colorschemes/arctic.lua new file mode 100644 index 00000000..635f6bb8 --- /dev/null +++ b/lua/custom/plugins/colorschemes/arctic.lua @@ -0,0 +1,4 @@ +return { + 'rockyzhang24/arctic.nvim', + dependencies = { 'rktjmp/lush.nvim' }, +} diff --git a/lua/custom/plugins/flash.lua b/lua/custom/plugins/flash.lua new file mode 100644 index 00000000..2c0dcce9 --- /dev/null +++ b/lua/custom/plugins/flash.lua @@ -0,0 +1,23 @@ +return { + 'folke/flash.nvim', + event = 'VeryLazy', + ---@type Flash.Config + opts = {}, + keys = { + { + 's', + mode = { 'n', 'x', 'o' }, + function() + -- default options: exact mode, multi window, all directions, with a backdrop + require('flash').jump() + end, + }, + { + 'S', + mode = { 'n', 'o', 'x' }, + function() + require('flash').treesitter() + end, + }, + }, +}