diff --git a/init.lua b/init.lua index c3795f5d..20bf426b 100644 --- a/init.lua +++ b/init.lua @@ -76,6 +76,7 @@ require('lazy').setup({ -- Detect tabstop and shiftwidth automatically 'tpope/vim-sleuth', + -- NOTE: This is where your plugins related to LSP can be installed. -- The configuration is done below. Search for lspconfig to find it below. { @@ -94,6 +95,17 @@ require('lazy').setup({ 'folke/neodev.nvim', }, }, + { + 'glacambre/firenvim', + + -- Lazy load firenvim + -- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297 + lazy = not vim.g.started_by_firenvim, + build = function() + vim.fn["firenvim#install"](0) + end + }, + { -- Autocompletion @@ -606,23 +618,3 @@ cmp.setup { -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et - -{ - 'glacambre/firenvim', - - -- Lazy load firenvim - -- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297 - lazy = not vim.g.started_by_firenvim, - build = function() - vim.fn["firenvim#install"](0) - end -}{ - 'glacambre/firenvim', - - -- Lazy load firenvim - -- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297 - lazy = not vim.g.started_by_firenvim, - build = function() - vim.fn["firenvim#install"](0) - end -}