diff --git a/moe.nimble b/moe.nimble index 03ab62a5b..11ea87505 100644 --- a/moe.nimble +++ b/moe.nimble @@ -1,6 +1,6 @@ # Package -version = "0.2.3" +version = "0.2.3.1" author = "fox0430" description = "A command lined based text editor" license = "GPLv3" diff --git a/shpec.sh b/shpec.sh index d3394e390..c6b80e9d7 100644 --- a/shpec.sh +++ b/shpec.sh @@ -43,7 +43,7 @@ describe "moe is an editor" describe "invocation options" it "can display it's version" - assert equal `moe -v | grep -oPq "^moe v\d+\.\d+\.\d+$";echo $?` 0 + assert equal `moe -v | grep -oPq "^moe v\d+\.\d+\.\d+\.\d+$";echo $?` 0 end it "can display command line options" diff --git a/src/moepkg/highlight.nim b/src/moepkg/highlight.nim index d9ed62abe..4099a9fef 100644 --- a/src/moepkg/highlight.nim +++ b/src/moepkg/highlight.nim @@ -220,7 +220,8 @@ proc initHighlight*(buffer: string, empty = false if not empty: result.colorSegments.add(cs) - if language == SourceLanguage.langNone: + if language == SourceLanguage.langNone or + language == SourceLanguage.langShell: splitByNewline(buffer, EditorColorPair.defaultChar) return result