Completion triggered by space in Latex mode

What happened?

In latex mode, the completion is triggered when I type a space even when company-minimum-prefix-length is set to 2. Screen Recording 2023-11-03 at 5.03.55 PM

According to this link:

It may be caused by lsp-mode. However, I tried the solution from the link but it doesn’t work.

I added it to my config.el and it only works after I manually reload the config.

What did you expect to happen?

Completion should not be triggered by a space

Steps to reproduce

Use lsp-mode in latex mode.

System information

Loading data dump...

This topic was automatically closed after 90 days. New replies are no longer allowed.