Skip to content

Remove latex-l2tabu.cwl - #4681

Merged
sunderme merged 1 commit into
texstudio-org:masterfrom
muzimuzhi:cwl/remove-l2tabu
Oct 5, 2026
Merged

sunderme merged 1 commit into
texstudio-org:masterfrom
muzimuzhi:cwl/remove-l2tabu

Conversation

@muzimuzhi

Copy link
Copy Markdown
Contributor

Follow-up to #4676 (comment).

@sunderme

sunderme commented Oct 4, 2026

Copy link
Copy Markdown
Member

Shouldn't the commands be added to latex-document ?

@muzimuzhi

Copy link
Copy Markdown
Contributor Author

Most of them are already contained in latex-document.cwl.

Exceptions:

  • \begin{appendix} is invalid form. The valid form \appendix is already in latex-document.cwl.
  • \centerline{text} is recorded in tex.cwl and plaintex.cwl.

So in short, all of the entries in latex-l2tabu.cwl are handled.

$ rg '\\((begin|end)\{(eqnarray\*?|sloppypar)\}|appendix|centerline|sloppy)' completion/latex-document.cwl
17:\appendix
18:\appendixname#*
35:\begin{eqnarray}#\math,array
36:\begin{eqnarray*}#\math,array
73:\begin{sloppypar}#*
100:\end{eqnarray}
101:\end{eqnarray*}
127:\end{sloppypar}
418:\sloppy#*

@sunderme
sunderme merged commit e211893 into texstudio-org:master Oct 5, 2026
8 checks passed
@sunderme

sunderme commented Oct 5, 2026

Copy link
Copy Markdown
Member

Thanks

@muzimuzhi
muzimuzhi deleted the cwl/remove-l2tabu branch October 5, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants