Skip to content

Commit

Permalink
Fix a bug where setup function is not working from lazy.nvim environment
Browse files Browse the repository at this point in the history
  • Loading branch information
malkoG committed Nov 22, 2024
1 parent c0d1f9f commit 605cd44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin/mastodon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ vim.api.nvim_create_user_command("MastodonReload", require("mastodon").reload_st

local operations = require("mastodon").operations

local keymaps = vim.g.mastodon_config["keymaps"]
local mastodon_config = vim.g.mastodon_config or {}
local keymaps = mastodon_config["keymaps"] or {}
local default_keymaps = require("mastodon").default_config["keymaps"]

local map = vim.api.nvim_set_keymap
Expand Down

0 comments on commit 605cd44

Please sign in to comment.