xenodium / chatgpt-shell

A multi-llm Emacs shell (ChatGPT, Claude, Gemini) + editing integrations
https://xenodium.com
GNU General Public License v3.0
857 stars 76 forks source link

Update the customization type of `chatgpt-shell-language-mapping` #168

Closed swflint closed 11 months ago

swflint commented 11 months ago

This improves the ability to edit this using customize

This is a first commit for #167.

That said, it may make more sense to consider a type as follows:

'(alist :key-type regexp
        :value-type function)

and use regular expression matching (thus only one entry for Objective C) to get the mode directly.

xenodium commented 11 months ago

Do you happen to have added more laguages to your config? Keen to contribute them to default?