Commit graph

22 commits

Author SHA1 Message Date
Borys Lykah
e9984bb744
feat: add support for haskell persistent library 2023-06-24 15:00:47 -04:00
Stephan Seitz
372177fb99 highlights(haskell): don't match True|False in other identifiers
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Co-authored-by:  Guillaume Bouchard <guibou@users.noreply.github.com>
2023-01-14 14:29:00 -08:00
Ananda Umamil
0b69c4ae52 highlights(haskell): special sigils and operators 2023-01-14 13:11:49 -08:00
Ananda Umamil
1298d9ba3b highlights(haskell): function and variable bindings 2023-01-11 20:07:16 +01:00
Manuel Barros
3a621b9a83 highlights(haskell): Fix partially applied infix functions 2023-01-01 18:23:57 +01:00
Ananda Umamil
e5dd204291 highlights(haskell): lambda and function with type signature 2022-12-29 21:04:14 +01:00
ObserverOfTime
1da0a88ebc highlights(haskell): fix captures 2022-11-26 13:17:51 +02:00
Jade Lovelace
aa736f5f36 haskell/highlights: Match pattern as a keyword
Sample:
-- | Smart constructor that deduplicates plugins
pattern IdePlugins :: [PluginDescriptor ideState] -> IdePlugins ideState
pattern IdePlugins{ipMap} <- IdePlugins_ (sortOn (Down . pluginPriority) . HashMap.elems -> ipMap) _
  where
    IdePlugins ipMap = IdePlugins_{ipMap_ = HashMap.fromList $ (pluginId &&& id) <$> ipMap
                                  , lookupCommandProvider = lookupPluginId ipMap
                                  }
2022-09-27 21:38:16 -04:00
Stephan Seitz
600ac0f358 highlights(haskell): use @function.call 2022-09-11 04:16:06 -07:00
Guillaume Bouchard
82f48cfe75 Add @spell directives for haskell 2022-09-10 11:18:18 -07:00
Marc Jakobi
4b0dab183e Add postresql-simple sql to haskell injections 2022-08-29 14:07:39 -07:00
Guillaume Bouchard
32e1f654e7 Fix aesonQQ quasiquote_body for haskell injections
Fix name of the captured quoter
2022-08-29 13:51:46 -07:00
Guillaume Bouchard
3993d90a52 Haskell injection: support inline json
Support for inline json using the quasiquoter `aesonQQ`: https://github.com/sol/aeson-qq#readme
2022-08-29 13:51:46 -07:00
ShootingStarDragons
f0e710793f support the fold of haskell 2022-07-08 21:58:10 +02:00
Kiyan
372b007231
fix(haskell): priority 101 for infix function precedence over variable (#3085) 2022-07-01 15:47:28 +02:00
kiyan
74ec4e1d5c fix(haskell): highlight exp_name as function in infix operations 2022-06-25 11:43:11 +02:00
Ananda Umamil
a76e1eb89d highlights(haskell): function with type signature 2022-01-13 21:48:35 +01:00
Ananda Umamil
50fee51d35 Improve Haskell highlighting 2022-01-08 12:37:11 +01:00
jpe90
39a53ffbbc
Add comment highlighting for keywords in Haskell (#1695)
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-08-14 18:27:05 +00:00
Farbod Salamat-Zadeh
efbd01f539
Add common quasiquote highlights/injections for Haskell (#1440) 2021-07-01 00:43:08 +00:00
elianiva
f9bce468a0 feat(haskell): improve highlight query
Co-authored-by: Farbod Salamat-Zadeh <12140044+farbodsz@users.noreply.github.com>
2021-06-26 12:10:52 +02:00
elianiva
684b74bea1 feat: add haskell highlights 2021-06-26 12:10:52 +02:00