pygments-shell-console 0.0.2__tar.gz → 0.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/PKG-INFO +1 -1
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/pyproject.toml +1 -1
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/shellconsole_lexer.py +6 -3
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/test.exmpl +16 -0
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/.github/workflows/publish-to-pypi.yml +0 -0
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/.gitignore +0 -0
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/README.md +0 -0
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/git_lexer.py +0 -0
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/shellconsole_style.py +0 -0
- {pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/test.sh +0 -0
|
@@ -154,6 +154,9 @@ class ShellConsoleLexer(Lexer):
|
|
|
154
154
|
# print(f"\n4. yielding pos={pos+i}, t={t}, v={v}")
|
|
155
155
|
yield pos+i, t, v
|
|
156
156
|
if output:
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
if custom_lexer:
|
|
158
|
+
for i, t, v in custom_lexer.get_tokens_unprocessed(output):
|
|
159
|
+
# print(f"\n2. yielding pos={pos+i}, t={t}, v={v}")
|
|
160
|
+
yield pos+i, t, v
|
|
161
|
+
else:
|
|
162
|
+
yield pos, Generic.Output, output
|
|
@@ -49,3 +49,19 @@ Changes not staged for commit:
|
|
|
49
49
|
Changes to be committed:
|
|
50
50
|
(use "git rm --cached <file>..." to unstage)
|
|
51
51
|
new file: README.md
|
|
52
|
+
|
|
53
|
+
joapuiib@FP:~/01_introduccio (main) $ git show 8e70293
|
|
54
|
+
commit 8e702933d5dbec9ee71100a1599ae4491085e1aa
|
|
55
|
+
Author: Joan Puigcerver Ibáñez <j.puigcerveribanez@edu.gva.es>
|
|
56
|
+
Date: Fri Oct 13 16:06:59 2023 +0200
|
|
57
|
+
|
|
58
|
+
Added README.md
|
|
59
|
+
|
|
60
|
+
diff --git a/README.md b/README.md
|
|
61
|
+
new file mode 100644
|
|
62
|
+
index 0000000..6d747b3
|
|
63
|
+
--- /dev/null
|
|
64
|
+
+++ b/README.md
|
|
65
|
+
@@ -0,0 +1,2 @@
|
|
66
|
+
+# 01 - Introducció a Git
|
|
67
|
+
+Estem aprenent a utilitzar Git!
|
{pygments_shell_console-0.0.2 → pygments_shell_console-0.0.3}/.github/workflows/publish-to-pypi.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|