Skip to content

🐞 Bug: 'tables' config broken + vertical pipes aren't unicode box draw #407

@vi6jm

Description

@vi6jm

🤖 Which branch are you using?

  • dev
  • main

📜 Issue description:

🟢 Defaults (vertical pipes seem off (no, not my font)):

Image

🔵 With every setting changed:

Image

Settings here:

      tables {:parts {:top [:a :a :a :a]
                      :header [:b :b :b]
                      :separator [:c :c :c :c]
                      :row [:d :d :d]
                      :bottom [:e :e :e :e]
                      :overlap [:f :f :f :f]
                      :align_left :G
                      :align_right :H
                      :align_center [:I :I]}}

👁️ You can see how only some of the settings hold (top and bottom only).


🐛 Found a few other bugs. If I should post them all, let me know.

🩷 Love your stuff. If you want some help, I can put a personal project on hold for a few days and help. I'm very familiar with nvim, but if you are in the flow state and just want to do it your way, I'll stay out of your hair

📑 Reproduction steps:

see issue

💻 Minimal init:

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    {
      "nvim-treesitter/nvim-treesitter",
      build = ":TSUpdate",
      ensure_installed = { "html", "latex", "markdown", "markdown_inline", "typst", "yaml" }
    },
    {
      "OXY2DEV/markview.nvim",
      -- opts = {
      --   markdown = {
      --     tables = {
      --       parts = {
      --         top = {"a", "a", "a", "a"},
      --         header = {"b", "b", "b"},
      --         separator = {"c", "c", "c", "c"},
      --         row = {"d", "d", "d"},
      --         bottom = {"e", "e", "e", "e"},
      --         overlap = {"f", "f", "f", "f"},
      --         align_left = "G",
      --         align_right = "H",
      --         align_center = {"I", "I"}
      --       }
      --     }
      --   }
      -- },
      lazy = false
      -- branch = "main",
    }
  },
});

📜 Logs:

Plugin: markview.nvim
Time: ven 03 Okt 2025 11:22:02
Nvim version: 0.12.0
Colorscheme: tokyonight-moon

Level description,
1 = START
2 = PAUSE
3 = STOP
4 = ERROR
5 = LOG
6 = ENABLE
7 = DISABLE
8 = ATTACH
9 = DETACH

Trace,
------------------------------------•-------•------------------------------------------------------------------------------------------------------------------------------------------------------
Time-stamp | Level | Action
------------------------------------•-------•------------------------------------------------------------------------------------------------------------------------------------------------------
11:21:41 | 8 | Attached: 1
11:21:41 | 1 | Callback: {on_attach}
11:21:41 | 1 | Callback: {on_enable}
11:21:41 | 1 | Clearing: 1
11:21:41 | 3 | Clearing(end, 0ms): 1
11:21:41 | 1 | Parsing(start): 1
11:21:41 | 3 | Parsing(end, 12ms): 1
11:21:41 | 1 | Rendering(main): 1
11:21:41 | 4 | {r/markdown.lua:} .../data/nvim/lazy/markview.nvim/lua/markview/filetypes.lua:784: bad argument #1 to 'gsub' (string expected, got nil)
11:21:41 | 3 | Render(main): 9ms
11:21:41 | 3 | Render(post): 1ms
11:21:41 | 3 | Rendering(end, 10ms): 1
11:21:41 | 1 | Callback: {on_hybrid_enable}
11:21:58 | 1 | Mode(c): 1
11:21:58 | 1 | Callback: {on_mode_change}
11:22:02 | 1 | Mode(n): 1
11:22:02 | 1 | Callback: {on_mode_change}
------------------------------------•-------•------------------------------------------------------------------------------------------------------------------------------------------------------

vim:nomodifiable:nowrap:nospell:

Neovim version:

NVIM v0.12.0-dev-1264+g19ba589946

✅ Expected behavior:

self descriptive

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions