vspinu / company-math

Completion back-ends for for math unicode symbols and latex tags
124 stars 8 forks source link

Documentation issue #3

Closed LordZorgoth closed 8 years ago

LordZorgoth commented 8 years ago

In the documentation, there is a hook that is supposed to set up company mode. It involves tex-mode-hook.

tex-mode-hook doesn't work on my computer, but TeX-mode-hook does.

The documentation should mention TeX-mode-hook as an option.

vspinu commented 8 years ago

TeX-mode-hook is part of auctex but not everyone is using auctex. tex-mode-hook is not defined by default but it's run by tex-mode if the user has added anything to that hook. So, you should be fine either way.