vscode-ltex icon indicating copy to clipboard operation
vscode-ltex copied to clipboard

Language detection from polyglossia parameters

Open 945fc41467 opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe. I would like ltex to automatic detect languages, without magic comment. I didn’t test, but it is supposed to work with babel package. I would be happy to have the same feature with polyglossia package.

Describe the solution you'd like Just use the parameter set in

\usepackage{polyglossia}
    \setdefaultlanguage{Chinese}

and also take account temporary change in the text body.

Describe alternatives you've considered Currently I use magic comments. It works but it is less elegant.

945fc41467 avatar Mar 12 '24 11:03 945fc41467