syntax highlighting - Problems making an accurate Visual Studio scheme for Vim (vim scheme specialist needed) -


I am trying to create an exact visual studio plan.

For thisisanid)

But now with the properties, the elements of brackets (id, class) also have blood color : (Ironically, this is a similar color here in Stokorovarflow). But I want them blue ( # 2902FC )

Example:

Code sample:

  "Highlighting syntax hi comment guifg = # 777777 GUI = any hi todo guifg = # 8f8f8f GUI = any hi continuously guifg = # e5786d GUI = any hi string guifg = # 2902FC GUI = any hi identifier Guifg = # 2902FC GUI = any hi function guifg = # 9A1102 GUI = any hi type guifg = # EF2811 GUI = any hi statement guifg = # 9A1102 GUI = any hi keyword guifg = # 9A1102 GUI = Any Hi PreProc guifg = # 2902FC GUI = any hi number guifg = # 2902FC GUI = any hi special guifg = # 2902FC GUI = None "Hi below the question guifg = white GUI = Any question Hi Ctermfg = white period = any Hi modeMsg guifg = white GUI = any  

Is HTML bracket a way to target only target or CSS selectors?

You have to find out what specific group-name you want to highlight.

>). If you change the color of comment , you change the color for each group that links to it. This is the reason that changing the function above affects both CSS and HTML syntax colors.

To display the syntax group under the cursor, you may want to start with the assistant mapping:

  nmap < F2 & gt; : Exec ": Hello" SynIDattr (synID (line ("."), Colonel ("."), 1), "name") & lt; CR & gt;  

Change & lt; F2 & gt; which you want to use to mapping

are enlightening with your description. Above, you need something like the following:

  for hi cssIdentifier guifg = # 9A1102 gui = none hi htmlTag guifg = # 2902FC gui = none  

More about group names:

 : h group-name  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -