Skip to content

Feed a function to company-idle-delay which generates the idle time according to the buffer's mode. #1234

Answered by hongyi-zhao
hongyi-zhao asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you. The following method solved my problem:

(setq company-idle-delay (lambda () (if (derived-mode-p 'latex-mode) 0.8 0.2)))

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@hongyi-zhao
Comment options

@yugaego
Comment options

@hongyi-zhao
Comment options

@hongyi-zhao
Comment options

@yugaego
Comment options

Answer selected by hongyi-zhao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants