add firenvim
This commit is contained in:
		
							parent
							
								
									6230032b64
								
							
						
					
					
						commit
						1da93c5a7f
					
				
							
								
								
									
										32
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										32
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -76,6 +76,7 @@ require('lazy').setup({
 | 
				
			||||||
  -- Detect tabstop and shiftwidth automatically
 | 
					  -- Detect tabstop and shiftwidth automatically
 | 
				
			||||||
  'tpope/vim-sleuth',
 | 
					  'tpope/vim-sleuth',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  -- NOTE: This is where your plugins related to LSP can be installed.
 | 
					  -- NOTE: This is where your plugins related to LSP can be installed.
 | 
				
			||||||
  --  The configuration is done below. Search for lspconfig to find it below.
 | 
					  --  The configuration is done below. Search for lspconfig to find it below.
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
| 
						 | 
					@ -94,6 +95,17 @@ require('lazy').setup({
 | 
				
			||||||
      'folke/neodev.nvim',
 | 
					      '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
 | 
					    -- Autocompletion
 | 
				
			||||||
| 
						 | 
					@ -606,23 +618,3 @@ cmp.setup {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- The line beneath this is called `modeline`. See `:help modeline`
 | 
					-- The line beneath this is called `modeline`. See `:help modeline`
 | 
				
			||||||
-- vim: ts=2 sts=2 sw=2 et
 | 
					-- 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
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue