veksha / cuda_codeium

Codeium addon for CudaText text editor
MIT License
5 stars 5 forks source link

use lexer Markdown for chat-reply? #9

Closed Alexey-T closed 1 year ago

Alexey-T commented 1 year ago

lexer fits:

Screenshot from 2023-05-15 23-40-16

veksha commented 1 year ago

i see that for me it very rarely annotates a block of code with the name of a language.

``` NO TEXT HERE
code with no colors
```

with Log lexer it has at least some colors.

image

image

veksha commented 1 year ago

can we somehow make new lexer for this? and use in this plugin only.

Alexey-T commented 1 year ago

why new one? Markdown serves good. even w/o lexer-name, it looks ok.

veksha commented 1 year ago

ok. changed to Markdown.

maybe i should try to autodetect and insert lexer name to code blocks with empty language identifier bot can write lang identifiers, if you will ask him.