Advertisement
Guest User

Untitled

a guest
May 17th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 2.34 KB | None | 0 0
  1. fu! s:fix_haskell_syntax()
  2.     hi! link haskellBottom Macro
  3.     hi! link haskellTH Boolean
  4.     hi! link haskellIdentifier Identifier
  5.     hi! link haskellForeignKeywords Structure
  6.     hi! link haskellKeyword Keyword
  7.     hi! link haskellDefault Keyword
  8.     hi! link haskellConditional Conditional
  9.     hi! link haskellNumber Number
  10.     hi! link haskellFloat Float
  11.     hi! link haskellSeparator Delimiter
  12.     hi! link haskellDelimiter Delimiter
  13.     hi! link haskellInfix Keyword
  14.     hi! link haskellOperators Operator
  15.     hi! link haskellQuote Operator
  16.     hi! link haskellShebang Comment
  17.     hi! link haskellLineComment Comment
  18.     hi! link haskellBlockComment Comment
  19.     hi! link haskellPragma SpecialComment
  20.     hi! link haskellLiquid SpecialComment
  21.     hi! link haskellString String
  22.     hi! link haskellChar String
  23.     hi! link haskellBacktick Operator
  24.     hi! link haskellQuasiQuoted String
  25.     hi! link haskellTodo Todo
  26.     hi! link haskellPreProc PreProc
  27.     hi! link haskellAssocType Type
  28.     hi! link haskellQuotedType Type
  29.     hi! link haskellType Type
  30.     hi! link haskellImportKeywords Include
  31.     if get(g:, 'haskell_classic_highlighting', 0)
  32.         hi! link haskellDeclKeyword Keyword
  33.         hi! link HaskellDerive Keyword
  34.         hi! link haskellDecl Keyword
  35.         hi! link haskellWhere Keyword
  36.         hi! link haskellLet Keyword
  37.     el
  38.         hi! link haskellDeclKeyword Structure
  39.         hi! link HaskellDerive Structure
  40.         hi! link haskellDecl Structure
  41.         hi! link haskellWhere Structure
  42.         hi! link haskellLet Structure
  43.     en
  44.  
  45.     if get(g:, 'haskell_enable_quantification', 0)
  46.         hi! link haskellForall Operator
  47.     en
  48.     if get(g:, 'haskell_enable_recursivedo', 0)
  49.         hi! link haskellRecursiveDo Keyword
  50.     en
  51.     if get(g:, 'haskell_enable_arrowsyntax', 0)
  52.         hi! link haskellArrowSyntax Keyword
  53.     en
  54.     if get(g:, 'haskell_enable_static_pointers', 0)
  55.         hi! link haskellStatic Keyword
  56.     en
  57.     if get(g:, 'haskell_classic_highlighting', 0)
  58.         if get(g:, 'haskell_enable_pattern_synonyms', 0)
  59.             hi! link haskellPatternKeyword Keyword
  60.         en
  61.         if get(g:, 'haskell_enable_typeroles', 0)
  62.             hi! link haskellTypeRoles Keyword
  63.         en
  64.     el
  65.         if get(g:, 'haskell_enable_pattern_synonyms', 0)
  66.             hi! link haskellPatternKeyword Structure
  67.         en
  68.         if get(g:, 'haskell_enable_typeroles', 0)
  69.             hi! link haskellTypeRoles Structure
  70.         en
  71.     en
  72.  
  73.     if get(g:, 'haskell_backpack', 0)
  74.         hi! link haskellBackpackStructure Structure
  75.         hi! link haskellBackpackDependency Include
  76.     en
  77. endf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement