Closed LukesterWad closed 1 year ago
I cannot reproduce this. Are you sure you are not using any additional org plugin, like vim-orgmode?
Can you open up the given file to reproduce this, and give me the output of :scriptnames
command?
Can you open up the given file to reproduce this, and give me the output of
:scriptnames
command?
1: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/ftplugin.vim
2: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/indent.vim
3: /nix/store/n0mmy8z2z95j9f94mbqnwz9py398yw90-init.vim
4: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/filetype.lua
5: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/filetype.vim
6: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/syntax/syntax.vim
7: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/syntax/synload.vim
8: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/gzip.vim
9: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/health.vim
10: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/matchit.vim
11: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim
12: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/matchparen.vim
13: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/netrwPlugin.vim
14: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/rplugin.vim
15: /nix/store/8mbkc7igf46fin1vyikgawfzkmdrbdab-neovim-0.8.1/rplugin.vim
16: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/shada.vim
17: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/spellfile.vim
18: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/tarPlugin.vim
19: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/tohtml.vim
20: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/tutor.vim
21: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/zipPlugin.vim
22: /nix/store/d9wfkr5ap9zxaqigy0fbhq9akyjy461w-neovim-unwrapped-0.8.1/share/nvim/runtime/plugin/man.lua
23: /nix/store/63mgjwlwz1gcv1jm1iqrvlq5j3pc1w01-lua5.1-nvim-cmp-2022-11-18/plugin/cmp.lua
24: /nix/store/745agxmq68qgpy76mkpmzmmvhyfd1krp-vimplugin-nvim-treesitter-2022-11-19/plugin/nvim-treesitter.lua
25: /nix/store/kn2x25xr4w5957pwh2026xaz7ax8ksmg-vimplugin-orgmode-2022-11-18/plugin/orgmode.vim
26: /nix/store/r3nl9kaiwyfg6p45whhxy5lc4hxkfrn1-lua5.1-plenary.nvim-2022-10-01/plugin/plenary.vim
27: /nix/store/cdghkwx69y4rbxvp5ah3y8wj71nz21m2-vimplugin-telescope.nvim-2022-11-11/plugin/telescope.lua
28: /nix/store/3vnfkvppmhz30k3xh3ll93jfpcis5xv2-vimplugin-cmp-buffer-2022-08-10/after/plugin/cmp_buffer.lua
29: /nix/store/6zj7zhm2v3vikgskdlc16awq553sbs20-vimplugin-cmp-cmdline-2022-11-13/after/plugin/cmp_cmdline.lua
30: /nix/store/sgy03zh726s0rhjh1xj2v5klqarh0djv-vimplugin-cmp-path-2022-10-03/after/plugin/cmp_path.lua
31: /nix/store/kn2x25xr4w5957pwh2026xaz7ax8ksmg-vimplugin-orgmode-2022-11-18/ftplugin/org.vim
32: /nix/store/kn2x25xr4w5957pwh2026xaz7ax8ksmg-vimplugin-orgmode-2022-11-18/indent/org.vim
33: /nix/store/kn2x25xr4w5957pwh2026xaz7ax8ksmg-vimplugin-orgmode-2022-11-18/syntax/org.vim
34: /nix/store/kn2x25xr4w5957pwh2026xaz7ax8ksmg-vimplugin-orgmode-2022-11-18/syntax/org_legacy.vim
Last file in the list (syntax/org_legacy.vim
) should not be loaded. This is loaded if you do not enable treesitter highlights, which are enabled in the minimal init. Can you provide whole nvim-treesitter
setup that you have in your config?
Last file in the list (
syntax/org_legacy.vim
) should not be loaded. This is loaded if you do not enable treesitter highlights, which are enabled in the minimal init. Can you provide wholenvim-treesitter
setup that you have in your config?
Apologies, it seems the minimal init I provided was derived from a newer config. This is the one I used when experiencing the issue.
require("nvim-treesitter.configs").setup({
highlight = {
enable = true,
disable = {"org"},
additional_vim_regex_highlighting = {"org"},
}
})
Removing disable = {"org"}
should fix an issue for you.
Describe the bug
When using tables with more than two columns, the
+
characters in the line between the column title and data are creating a strikethrough for the-
characters in between.This only occurs with additional vim regex highlighting enabled through the treesitter config.
Steps to reproduce
Create a table with more than two columns. E.g.:
Observe that the
+---+
sequence is stricken through.Expected behavior
No strikethrough should be present.
Emacs functionality
No response
Minimal init.lua
Screenshots and recordings
OS / Distro
NixOS 22.11
Neovim version/commit
0.8.1
Additional context
No response