Skip to content

Commit

Permalink
fix(lunarvim): Prevent double dash on enter in lists for Markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
Proveasio authored and Proveasio committed Apr 23, 2024
1 parent d14a24f commit 89197cd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible/roles/config/files/lvim/lua/user/general.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ vim.g.vim_markdown_folding_disabled = 1
-- `ge` to follow anchor links
vim.g.vim_markdown_follow_anchor = 1

-- Prevent double list markers (-) on enter
vim.g.vim_markdown_auto_insert_bullets = 0
vim.g.vim_markdown_new_list_item_indent = 0

-- Let MKDX plugin handle indentation
vim.g['mkdx#settings.insert_indent_mappings'] = 1

-- Enable transparency
-- lvim.transparent_window = true

Expand Down

0 comments on commit 89197cd

Please sign in to comment.