Skip to content

Commit

Permalink
Merge pull request #34 from axieax/main
Browse files Browse the repository at this point in the history
fix: non-silent toggle keybind
  • Loading branch information
cmgriffing authored Aug 17, 2022
2 parents 75f5e45 + 26c9852 commit 5257ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/nvim-biscuits/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ nvim_biscuits.BufferAttach = function(bufnr)
if toggle_keybind ~= nil and
not config.get_language_config(final_config, lang, "disabled") then
vim.api.nvim_set_keymap("n", toggle_keybind,
":lua require('nvim-biscuits').toggle_biscuits()<CR>",
{noremap = false})
"<Cmd>lua require('nvim-biscuits').toggle_biscuits()<CR>",
{ noremap = false, desc = "toggle biscuits" })
end

local on_lines = function() nvim_biscuits.decorate_nodes(bufnr, lang) end
Expand Down

0 comments on commit 5257ea2

Please sign in to comment.