Skip to content

Commit

Permalink
Tries changing highlighter names
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Feb 12, 2016
1 parent 47e1844 commit 41a9645
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions HELP.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Coconut Tutorial

_TESTING_

<!-- MarkdownTOC -->

1. [Introduction](#introduction)
Expand Down
6 changes: 3 additions & 3 deletions coconut/highlighter.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

class pylexer(Python3Lexer):
"""Lenient Python syntax highlighter."""
name = "Force Python"
name = "force_python"
aliases = ["force_python", "force_py", "force_python3", "force_py3"]
filenames = []

Expand All @@ -41,7 +41,7 @@ def add_filter(self, *args, **kwargs):

class pyconlexer(PythonConsoleLexer):
"""Lenient Python console syntax highlighter."""
name = "Force Python Console"
name = "force_pycon"
aliases = ["force_pycon", "force_pycon3"]
filenames = []

Expand All @@ -55,7 +55,7 @@ def add_filter(self, *args, **kwargs):

class coclexer(Python3Lexer):
"""Coconut syntax highlighter."""
name = "Coconut"
name = "coconut"
aliases = ["coc", "coconut", "force_coc", "force_coconut", "coconutcon", "force_coconutcon"]
filenames = ["*"+code_ext]

Expand Down

0 comments on commit 41a9645

Please sign in to comment.