Фикс форматтера md таблиц
This commit is contained in:
parent
9c2c3bc71c
commit
b112539961
1 changed files with 12 additions and 2 deletions
|
@ -105,9 +105,19 @@ require('lazy').setup({
|
||||||
|
|
||||||
-- Autoformat markdown tables
|
-- Autoformat markdown tables
|
||||||
{
|
{
|
||||||
'Kicamon/markdown-table-mode.nvim', -- Если не работает, то можно прописать `:Mtm`. Мб поможет
|
'Kicamon/markdown-table-mode.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
require('markdown-table-mode').setup()
|
require('markdown-table-mode').setup { -- Если не работает, то можно прописать `:Mtm`
|
||||||
|
filetype = {
|
||||||
|
'*.md',
|
||||||
|
},
|
||||||
|
options = {
|
||||||
|
insert = true, -- when typing "|"
|
||||||
|
insert_leave = true, -- when leaving insert
|
||||||
|
pad_separator_line = false, -- add space in separator line
|
||||||
|
alig_style = 'default', -- default, left, center, right
|
||||||
|
},
|
||||||
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue