Skip to content

Commit

Permalink
fix: use '<cmd>' instead of ':' for default mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbun committed Oct 27, 2021
1 parent a6fb6d1 commit d28028b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gitlinker/mappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local function set_keymap(mode, keys, mapping_opts)
api.nvim_set_keymap(
mode,
keys,
":lua require'gitlinker'.get_buf_range_url('" .. mode .. "')<cr>",
"<cmd>lua require'gitlinker'.get_buf_range_url('" .. mode .. "')<cr>",
mapping_opts
)
end
Expand Down

0 comments on commit d28028b

Please sign in to comment.