Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed broken character literal highlighting (#132) #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 19, 2021

  1. Fixed broken character literal highlighting (neovimhaskell#132)

      (See neovimhaskell#132)
      When a character literal contains a "region" start pattern
      ('(','[','{','"'), everything after the start pattern is interpreted as
      a contained region, and consequently breaks syntax highlighting. After
      further investigation, the regex used to match character literal is
      actually incorrect according to the Haskell 2010 language specification
      (https://www.haskell.org/onlinereport/haskell2010/haskellch2.html#x7-200002.6),
      which means most valid character literals aren't highlighted at all,
      and the \u<code> pattern while not being a legal character in Haskell,
      is correctly highlighted.
    
      This commit tries to remedy the above issues.
    nhatanh002 committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    514f077 View commit details
    Browse the repository at this point in the history