yi-misc-modes 0.17.1 → 0.18.0
raw patch · 3 files changed
+7/−6 lines, 3 filesdep ~yi-coredep ~yi-languagePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: yi-core, yi-language
API changes (from Hackage documentation)
- Yi.Lexer.Abella: instance GHC.Base.Functor Yi.Lexer.Abella.AlexLastAcc
- Yi.Lexer.C: instance GHC.Base.Functor Yi.Lexer.C.AlexLastAcc
- Yi.Lexer.Cabal: instance GHC.Base.Functor Yi.Lexer.Cabal.AlexLastAcc
- Yi.Lexer.Clojure: instance GHC.Base.Functor Yi.Lexer.Clojure.AlexLastAcc
- Yi.Lexer.Cplusplus: instance GHC.Base.Functor Yi.Lexer.Cplusplus.AlexLastAcc
- Yi.Lexer.GNUMake: instance GHC.Base.Functor Yi.Lexer.GNUMake.AlexLastAcc
- Yi.Lexer.GitCommit: instance GHC.Base.Functor Yi.Lexer.GitCommit.AlexLastAcc
- Yi.Lexer.JSON: instance GHC.Base.Functor Yi.Lexer.JSON.AlexLastAcc
- Yi.Lexer.Java: instance GHC.Base.Functor Yi.Lexer.Java.AlexLastAcc
- Yi.Lexer.Latex: instance GHC.Base.Functor Yi.Lexer.Latex.AlexLastAcc
- Yi.Lexer.OCaml: instance GHC.Base.Functor Yi.Lexer.OCaml.AlexLastAcc
- Yi.Lexer.ObjectiveC: instance GHC.Base.Functor Yi.Lexer.ObjectiveC.AlexLastAcc
- Yi.Lexer.Ott: instance GHC.Base.Functor Yi.Lexer.Ott.AlexLastAcc
- Yi.Lexer.Perl: instance GHC.Base.Functor Yi.Lexer.Perl.AlexLastAcc
- Yi.Lexer.Python: instance GHC.Base.Functor Yi.Lexer.Python.AlexLastAcc
- Yi.Lexer.R: instance GHC.Base.Functor Yi.Lexer.R.AlexLastAcc
- Yi.Lexer.Ruby: instance GHC.Base.Functor Yi.Lexer.Ruby.AlexLastAcc
- Yi.Lexer.SVNCommit: instance GHC.Base.Functor Yi.Lexer.SVNCommit.AlexLastAcc
- Yi.Lexer.Srmc: instance GHC.Base.Functor Yi.Lexer.Srmc.AlexLastAcc
- Yi.Lexer.Whitespace: instance GHC.Base.Functor Yi.Lexer.Whitespace.AlexLastAcc
- Yi.Modes: anyExtension :: [String] -> FilePath -> a -> Bool
+ Yi.Modes: anyExtension :: () => [String] -> FilePath -> a -> Bool
Files
- src/Yi/Lexer/GitCommit.x +3/−2
- src/Yi/Lexer/Ruby.x +1/−1
- yi-misc-modes.cabal +3/−3
src/Yi/Lexer/GitCommit.x view
@@ -24,9 +24,10 @@ } -- There should never be anything on the second line of a git commit message--- so it is styled in a deliberately hideous color scheme.+-- so it is styled in a deliberately hideous color scheme, unless it's a comment. <secondLine> {-.+ { c (const $ Style.withFg Style.red `mappend` Style.withBg Style.brown) }+^\# { m (const $ LineComment) Style.commentStyle }+. { c (const $ Style.withFg Style.red `mappend` Style.withBg Style.brown) } $nl { m (const MessageLine) Style.defaultStyle } }
src/Yi/Lexer/Ruby.x view
@@ -182,7 +182,7 @@ | @number \. @number? @exponent? { c numberStyle } -- symbols and raw strings- :[$small]+ { c stringStyle }+ :[$small $large _]+ { c stringStyle } \%q\{ @longstring* \} | \' @shortstring* \' { c stringStyle }
yi-misc-modes.cabal view
@@ -1,5 +1,5 @@ name: yi-misc-modes-version: 0.17.1+version: 0.18.0 synopsis: Yi editor miscellaneous modes category: Yi homepage: https://github.com/yi-editor/yi#readme@@ -30,8 +30,8 @@ , filepath , microlens-platform , text- , yi-core >= 0.17- , yi-language >= 0.17+ , yi-core >= 0.18+ , yi-language >= 0.18 , yi-rope >= 0.10 build-tools: alex >= 3.0.3 && < 3.2.0 || >= 3.2.1