From 1da93c5a7fec28f7865fa55b2339f1245284d98d Mon Sep 17 00:00:00 2001 From: fine2006 Date: Mon, 27 Nov 2023 20:54:23 +0530 Subject: [PATCH] add firenvim --- init.lua | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) 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 -}