You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the question might be a bit unusual, sorry about that.
but I wonder if I can disable the syntax highlighting completely within preview
I use syntax manual daily and don't have treesitter installed
I aslo cannot just do syntax off, because I still need something highlighted sometimes (like highlight filename in quickfix)
I tried to give setlocal syntax=off to floating windows, but with no luck to make it work.
" my setting
syntax manual
autocmd FileType dirvish,qf setlocal syntax=on
" what I tried but not work
autocmd BufWinEnter,WinNew * if nvim_win_get_config(0)['relative'] != '' | setlocal syntax=off | endif
Describe the solution you'd like
Maybe provide some suggestions? that would be very helpful.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Feature description
Hi, the question might be a bit unusual, sorry about that.
but I wonder if I can disable the syntax highlighting completely within preview
I use
syntax manual
daily and don't have treesitter installedI aslo cannot just do
syntax off
, because I still need something highlighted sometimes (like highlight filename in quickfix)I tried to give
setlocal syntax=off
to floating windows, but with no luck to make it work.Describe the solution you'd like
Maybe provide some suggestions? that would be very helpful.
Additional context
No response
The text was updated successfully, but these errors were encountered: