packages feed

yi-misc-modes 0.16.0 → 0.17.0

raw patch · 3 files changed

+45/−7 lines, 3 filesnew-uploaderPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

+ src/Yi/Lexer/BasicTemplate.x view
@@ -0,0 +1,37 @@+-- -*- haskell -*-+{+#define NO_ALEX_CONTEXTS+{-# OPTIONS -w  #-}+module Yi.Lexer.BasicTemplate+  ( initState, alexScanToken )+where+import Yi.Lexer.Alex hiding (tokenToStyle)+import Yi.Style+  ( Style             ( .. )+  , StyleName+  )+import qualified Yi.Style as Style+}++main :-++<0>+{+    $white+        { c Style.defaultStyle }+    .+        { c Style.defaultStyle }+}++{+data HlState++stateToInit _ = 0++initState :: HlState+initState = undefined++type Token = StyleName+#include "common.hsinc"+}+
src/Yi/Lexer/Python.x view
@@ -150,12 +150,16 @@ }  <doubledoc> {-  \" \" \"                                      { m (const Base) stringStyle }+  \"\"\"                                        { m (const Base) stringStyle }+  $white+                                       ; -- whitespace+  [^\"]+                                        { c stringStyle }   .                                             { c stringStyle } }  <singledoc> {-  \' \' \'                                      { m (const Base) stringStyle }+  \'\'\'                                        { m (const Base) stringStyle }+  $white+                                       ; -- whitespace+  [^\']+                                        { c stringStyle }   .                                             { c stringStyle } } 
yi-misc-modes.cabal view
@@ -1,9 +1,5 @@--- This file has been generated from package.yaml by hpack version 0.17.1.------ see: https://github.com/sol/hpack- name:           yi-misc-modes-version:        0.16.0+version:        0.17.0 synopsis:       Yi editor miscellaneous modes category:       Yi homepage:       https://github.com/yi-editor/yi#readme@@ -67,5 +63,6 @@       Yi.Lexer.Whitespace       Yi.Syntax.Latex   other-modules:+      Yi.Lexer.BasicTemplate       Paths_yi_misc_modes   default-language: Haskell2010