|
|
@ -81,7 +81,11 @@ require('lazy').setup({
|
|
|
|
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
|
|
|
|
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
|
|
|
|
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
|
|
|
|
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
|
|
|
|
},
|
|
|
|
},
|
|
|
|
init = function() vim.g.barbar_auto_setup = false end,
|
|
|
|
init = function()
|
|
|
|
|
|
|
|
if not vim.g.started_by_firenvim then
|
|
|
|
|
|
|
|
vim.g.barbar_auto_setup = false
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end,
|
|
|
|
opts = {
|
|
|
|
opts = {
|
|
|
|
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
|
|
|
|
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
|
|
|
|
-- animation = true,
|
|
|
|
-- animation = true,
|
|
|
@ -105,6 +109,16 @@ require('lazy').setup({
|
|
|
|
require('autoclose').setup()
|
|
|
|
require('autoclose').setup()
|
|
|
|
end
|
|
|
|
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
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
-- 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.
|
|
|
@ -612,5 +626,23 @@ cmp.setup {
|
|
|
|
|
|
|
|
|
|
|
|
vim.api.nvim_command [[set tabstop=4]]
|
|
|
|
vim.api.nvim_command [[set tabstop=4]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vim.g.firenvim_config = {
|
|
|
|
|
|
|
|
globalSettings = {
|
|
|
|
|
|
|
|
alt = "all",
|
|
|
|
|
|
|
|
takeover = "never",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
localSettings = {
|
|
|
|
|
|
|
|
[".*"] = {
|
|
|
|
|
|
|
|
cmdline = "neovim",
|
|
|
|
|
|
|
|
content = "text",
|
|
|
|
|
|
|
|
priority = 0,
|
|
|
|
|
|
|
|
selector = "textarea",
|
|
|
|
|
|
|
|
takeover = "never"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if vim.g.started_by_firenvim == true then
|
|
|
|
|
|
|
|
vim.o.showtabline = 0
|
|
|
|
|
|
|
|
end
|
|
|
|
-- 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
|
|
|
|