Add import for guess_lexer function
This commit is contained in:
parent
b2d66c2937
commit
24c6625f30
|
|
@ -1,4 +1,4 @@
|
||||||
#!./.venv/bin/python
|
#!/bin/python
|
||||||
# Chat with an intelligent assistant in your terminal
|
# Chat with an intelligent assistant in your terminal
|
||||||
from ollama import Client
|
from ollama import Client
|
||||||
import re
|
import re
|
||||||
|
|
@ -6,7 +6,7 @@ import pyperclip
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
import pygments
|
import pygments
|
||||||
from pygments.lexers import get_lexer_by_name
|
from pygments.lexers import get_lexer_by_name, guess_lexer
|
||||||
from pygments.formatters import TerminalFormatter
|
from pygments.formatters import TerminalFormatter
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue