From eaa08d1c2f0b49e8dac241a081f8f464b12c85c4 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Fri, 6 Nov 2026 09:46:27 -0500 Subject: [PATCH] feat(core): configure markdown table mode for Markdown files --- lua/polish.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lua/polish.lua b/lua/polish.lua index 69009a2..a2e24ec 100644 --- a/lua/polish.lua +++ b/lua/polish.lua @@ -5,3 +5,16 @@ -- snacks state icons/colors (see config.toggles). LSP-scoped keymaps live in -- plugins/astrolsp.lua, where astrolsp gates them on server capabilities. require("config.toggles").setup() + +require("markdown-table-mode").setup { + filetype = { + "*.md", + "*.mdx", + }, + options = { + insert = true, -- when typing "|" + insert_leave = true, -- when leaving insert + pad_separator_line = false, -- add space in separator line + alig_style = "center", -- default, left, center, right + }, +}