I want to know what line and file syntax region foo start...
was set.
I have tried this:
:verbose syntax foo
:syntax foo?
:verbose syntax foo?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this community
:scriptnames
. You can traverse quite quickly with:execute 'args' join(filter(split(execute('scriptnames')), "v:val =~# 'syntax\/'"))
- this will open all loaded script files that matchsyntax/
, and the file you want is probably one of these.rg 'something'
. I just thought there was a command I could use from vim to find out.:verbose highlight Group
, which may help if the default highlighting is added in the same file/location.