-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugcat moderelated to the cat mode of nvimpager or the conversion of highlight groups to ansi escape sequencesrelated to the cat mode of nvimpager or the conversion of highlight groups to ansi escape sequenceshelp wanted
Description
Can nvimpager show treesitter syntax highlighting?
From my tests below, nvimpager.lua isn't parsing treesitter syntax highlighting.
Here is what I am using to test:
mkdir -p ~/.local/share/nvimpager/site/pack/packer/opt
ln -s ~/.local/share/nvim/site/pack/packer/opt/nvim-treesitter ~/.local/share/nvimpager/site/pack/packer/opt/nvim-treesitter~/.config/nvimpager/init.vim
packadd nvim-treesitter
lua << EOF
require'nvim-treesitter.configs'.setup {
ensure_installed = {
"lua"
},
highlight = {
enable = true
},
}
EOFusing nvimpager on a lua file to see if treesitter works:
nvimpager ~/lua.lua # shows nvim syntax highlighting
nvimpager -c ~/lua.lua # shows nvim syntax highlighting
nvimpager -p ~/lua.lua # shows treesitter highlighted textryuheechul, fedeztk, DeadlySquad13, MatthiasGrandl, UrsaDK and 3 more
Metadata
Metadata
Assignees
Labels
bugcat moderelated to the cat mode of nvimpager or the conversion of highlight groups to ansi escape sequencesrelated to the cat mode of nvimpager or the conversion of highlight groups to ansi escape sequenceshelp wanted