nvim: Fix lazy loading of plugins
They were not loading until too late, they need to load earlier to be useful Signed-off-by: Nicholas Mello <nick@nmello.dev>
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("gitsigns").setup({
|
require("gitsigns").setup({
|
||||||
signs = {
|
signs = {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ vim.api.nvim_create_autocmd("BufWritePre", {
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
|
lazy = false,
|
||||||
keys = {
|
keys = {
|
||||||
-- Navigation
|
-- Navigation
|
||||||
{ "<leader>dgd", vim.lsp.buf.definition, desc = "Go to Definition" },
|
{ "<leader>dgd", vim.lsp.buf.definition, desc = "Go to Definition" },
|
||||||
|
|||||||
Reference in New Issue
Block a user