From 13845e2d87eaaf0f1bf2c3980a570741226c5000 Mon Sep 17 00:00:00 2001 From: Omixxx Date: Thu, 8 Jun 2023 22:10:24 +0200 Subject: [PATCH] update --- init.lua | 3 +-- lua/custom/plugins/browser.lua | 10 ++++++++++ lua/custom/plugins/dot_repeat.lua | 3 +++ lua/custom/plugins/leap.lua | 7 +------ 4 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 lua/custom/plugins/browser.lua create mode 100644 lua/custom/plugins/dot_repeat.lua diff --git a/init.lua b/init.lua index 7e2c4998..87239d69 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,4 @@ --[[ - ===================================================================== ==================== READ THIS BEFORE CONTINUING ==================== ===================================================================== @@ -65,7 +64,7 @@ vim.opt.rtp:prepend(lazypath) -- You can also configure plugins after the setup call, -- as they will be available in your neovim runtime. require('lazy').setup({ - -- NOTE: First, some plugins that don't require any configuration + -- NOTE: First, some plugins that don't require any configurationinit { -- Set lualine as statusline 'nvim-lualine/lualine.nvim', diff --git a/lua/custom/plugins/browser.lua b/lua/custom/plugins/browser.lua new file mode 100644 index 00000000..7a364f77 --- /dev/null +++ b/lua/custom/plugins/browser.lua @@ -0,0 +1,10 @@ +return { + 'glacambre/firenvim', + -- Lazy load firenvim + -- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297 + cond = not not vim.g.started_by_firenvim, + build = function() + require("lazy").load({ plugins = "firenvim", wait = true }) + vim.fn["firenvim#install"](0) + end +} diff --git a/lua/custom/plugins/dot_repeat.lua b/lua/custom/plugins/dot_repeat.lua new file mode 100644 index 00000000..be18a57b --- /dev/null +++ b/lua/custom/plugins/dot_repeat.lua @@ -0,0 +1,3 @@ +return { + "tpope/vim-repeat" +} diff --git a/lua/custom/plugins/leap.lua b/lua/custom/plugins/leap.lua index 284a48be..3a4f38b3 100644 --- a/lua/custom/plugins/leap.lua +++ b/lua/custom/plugins/leap.lua @@ -8,11 +8,6 @@ return { require('leap').init_highlight(true) end) - require('leap').opts = { - - - - - } + lua = require('leap').opts end }