Skip to content

Commit

Permalink
fix(nvim): Remove autolist plugin breaking my enter key on markdown f…
Browse files Browse the repository at this point in the history
…iles
  • Loading branch information
mrjones2014 committed Jan 8, 2024
1 parent dec2ead commit f40c618
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions nvim/lua/my/configure/markdown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,4 @@ return {
ft = 'markdown',
dependencies = { 'norcalli/nvim-terminal.lua', config = true },
},
{
'gaoDean/autolist.nvim',
ft = 'markdown',
version = '2.3.0',
config = function()
local al = require('autolist')
al.setup()
al.create_mapping_hook('i', '<CR>', al.new)
al.create_mapping_hook('i', '<Tab>', al.indent)
al.create_mapping_hook('i', '<S-Tab>', al.indent, '<C-d>')
al.create_mapping_hook('n', 'o', al.new)
al.create_mapping_hook('n', 'O', al.new_before)
end,
},
}

0 comments on commit f40c618

Please sign in to comment.