The commands that are locally defined through \newcommand show up in the autocomplete tab from, e.g., YouCompleteMe, I assume through some magic in vimtex =).
It would be nice to also have the commands that are defined through \DeclarePairedDelimiter (I believe it is from mathtools) and \DeclareDocumentCommand and \NewDocumentCommand (from xparse) added to the list for autocompletion.
Thanks!
Matteo