nvim: Table corner is always | if not rst

This commit is contained in:
raute 2024-01-09 11:59:50 +01:00
parent d1d2462e8a
commit d49211095a

View File

@ -203,7 +203,9 @@ for _, group in ipairs(vim.fn.getcompletion("@lsp", "highlight")) do
vim.api.nvim_set_hl(0, group, {})
end
-- vim.g.table_mode_corner = "|"
if vim.bo.filetype ~= "rst" then
vim.g.table_mode_corner = "|"
end
vim.keymap.set("n", "<leader>tr", ":TableModeRealign<CR>")
vim.keymap.set("n", "ci|", "T|ct|")
vim.keymap.set("n", "di|", "T|dt|")