diff options
author | christianchiarulli <[email protected]> | 2021-08-11 16:33:41 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-08-11 16:33:41 -0400 |
commit | 83013c0d4f1467f546c38719c61909decfcb8151 (patch) | |
tree | 143773ea73c64d953db699e6e621926e44653fc2 /lua/plugins.lua | |
parent | f6407e0bdb9c2875bc8f186929ce183af391b2a9 (diff) | |
parent | 5a7630cac761e91335d2f25cb07a81271569c791 (diff) |
Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 88dc9a31..d8342ad8 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -18,8 +18,6 @@ return { { "nvim-lua/popup.nvim" }, { "nvim-lua/plenary.nvim" }, - { "tjdevries/astronauta.nvim", commit = "e69d7bdc4183047c4700427922c4a3cc1e3258c6" }, - -- Telescope { "nvim-telescope/telescope.nvim", @@ -57,7 +55,7 @@ return { { "hrsh7th/vim-vsnip", -- wants = "friendly-snippets", - event = "InsertCharPre", + event = "InsertEnter", }, { "rafamadriz/friendly-snippets", @@ -135,6 +133,8 @@ return { config = function() local status_ok, nvim_comment = pcall(require, "nvim_comment") if not status_ok then + local Log = require "core.log" + Log:get_default().error "Failed to load nvim-comment" return end nvim_comment.setup() @@ -147,12 +147,14 @@ return { -- vim-rooter { "airblade/vim-rooter", + -- event = "BufReadPre", config = function() - vim.g.rooter_silent_chdir = 1 + require("core.rooter").setup() if lvim.builtin.rooter.on_config_done then lvim.builtin.rooter.on_config_done() end end, + disable = not lvim.builtin.rooter.active, }, -- Icons @@ -174,12 +176,13 @@ return { { "romgrk/barbar.nvim", config = function() - require "core.bufferline" + require("core.bufferline").setup() if lvim.builtin.bufferline.on_config_done then lvim.builtin.bufferline.on_config_done() end end, event = "BufWinEnter", + disable = not lvim.builtin.bufferline.active, }, -- Debugging |