Public bug reported:

TeX syntax highlighting is incorrect for:

$X_{\{i\}}$  for $k$ in $S$ some text!?!

There seems to be some confusion arising from the nested { } and \{ \}
in the subscript.  The highlighting is wrong from the i onward in this
example.  Highlighting is correct if the _ or the \{ \} pair is removed.

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: highlight highlighting latex syntax tex

** Description changed:

  TeX syntax highlighting is incorrect for:
  
  $X_{\{i\}}$  for $k$ in $S$ some text!?!
  
  There seems to be some confusion arising from the nested { } and \{ \}
  in the subscript.  The highlighting is wrong from the i onward in this
- example.  Highlighting is correct if the _ is removed.
+ example.  Highlighting is correct if the _ or the \{ \} pair is removed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/819620

Title:
  tex syntax highlighting error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/819620/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to