Skip to content

Commit

Permalink
Merge pull request #1168 from fox0430/hotfix
Browse files Browse the repository at this point in the history
v0.2.3.1
  • Loading branch information
fox0430 authored Nov 9, 2020
2 parents c477c68 + 17c6fd1 commit 08e4c04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion moe.nimble
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shpec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion src/moepkg/highlight.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 08e4c04

Please sign in to comment.