Skip to content

Commit 2914a3f

Browse files
committed
fix(nvim): lsp and lualine not loading
1 parent 61ba593 commit 2914a3f

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

nvim/.config/nvim/lua/plugins/colorizer.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
return {
22
-- the only one that supports css variable
33
'brenoprata10/nvim-highlight-colors',
4-
event = { 'BufReadPost', 'BufNewFile' },
4+
event = { 'VeryLazy' },
55
-- enabled = false,
66
opts = {},
77

nvim/.config/nvim/lua/plugins/gitsigns.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
-- See `:help gitsigns` to understand what the configuration keys do
1313
return { -- Adds git related signs to the gutter, as well as utilities for managing changes
1414
'lewis6991/gitsigns.nvim',
15-
event = { 'BufReadPost', 'BufNewFile' },
15+
event = { 'VeryLazy' },
1616
-- enabled = false,
1717
opts = {
1818
signs = {

nvim/.config/nvim/lua/plugins/lang.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ return {
1515
{
1616
-- Main LSP Configuration
1717
'neovim/nvim-lspconfig',
18+
event = { 'VeryLazy' },
1819
cmd = { 'LspInfo', 'LspInstall', 'LspUninstall' },
1920
dependencies = {
2021
-- Automatically install LSPs and related tools to stdpath for Neovim
@@ -348,7 +349,7 @@ return {
348349

349350
{ -- Autocompletion
350351
'saghen/blink.cmp',
351-
event = { 'BufReadPost', 'BufNewFile' },
352+
event = { 'VeryLazy' },
352353
version = '1.*',
353354
dependencies = {
354355
-- Snippet Engine
@@ -448,7 +449,7 @@ return {
448449
{ -- Highlight, edit, and navigate code
449450
'nvim-treesitter/nvim-treesitter',
450451
-- enabled = false,
451-
event = { 'BufReadPost', 'BufNewFile' },
452+
event = { 'VeryLazy' },
452453
cmd = { 'TSInstall', 'TSBufEnable', 'TSBufDisable', 'TSModuleInfo' },
453454
build = ':TSUpdate',
454455
main = 'nvim-treesitter.configs', -- Sets main module to use for opts

nvim/.config/nvim/lua/plugins/lualine.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ return {
22
'nvim-lualine/lualine.nvim',
33
dependencies = { 'nvim-tree/nvim-web-devicons' },
44
-- enabled = false,
5-
event = { 'BufReadPost', 'BufNewFile' },
5+
event = { 'VeryLazy' },
66
opts = {
77
options = {
88
globalstatus = true,

nvim/.config/nvim/lua/plugins/mini.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
return { -- Collection of various small independent plugins/modules
22
'echasnovski/mini.nvim',
3-
event = { 'BufReadPost', 'BufNewFile' },
3+
event = { 'VeryLazy' },
44
-- enabled = false,
55
config = function()
66
-- Better Around/Inside textobjects

nvim/.config/nvim/lua/plugins/todo-comments.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
return {
33
'folke/todo-comments.nvim',
44
-- enabled = false,
5-
event = { 'BufReadPost', 'BufNewFile' },
5+
event = { 'VeryLazy' },
66
dependencies = { 'nvim-lua/plenary.nvim' },
77
opts = { signs = false },
88
}

nvim/.config/nvim/lua/plugins/which-key.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
return { -- Useful plugin to show you pending keybinds.
1717
'folke/which-key.nvim',
1818
-- enabled = false,
19-
event = { 'BufReadPost', 'BufNewFile' },
19+
event = { 'VeryLazy' },
2020
opts = {
2121
icons = {
2222
-- set icon mappings to true if you have a Nerd Font

0 commit comments

Comments
 (0)