When opening list preview, filetype is not set due to which syntax highlighting (I am using nvim-treesitter) doesn't work. Other syntax plugins like vim-polyglot works. If I manually set filetype of list preview window syntax highlighting with treesitter works very well.
I think there is a need to set filetype when opening list preview window.
When opening list preview, filetype is not set due to which syntax highlighting (I am using nvim-treesitter) doesn't work. Other syntax plugins like vim-polyglot works. If I manually set filetype of list preview window syntax highlighting with treesitter works very well.
I think there is a need to set filetype when opening list preview window.