New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Company based realtime imcremental drop-down completion menu for lsp-mode, ispell, and yasnippet. #1124
Comments
|
Not regexp search, but you can type |
|
Another question I would like to know is, why do some commands have ICONS and others don't, appeared in the second to last column. |
|
Which of the icons do you mean? |
|
Ah, the arrows? Those are returned by the backend. |
|
That's up to the backend. The language server, probably (if you're using lsp or eglot). |
|
Another issue: can I have a drop-down menu for normal writing/typesetting, just as we have for command completion with company, which is triggered by a specific threshold of the minimum number of input characters, say, 3, and then incrementally narrowed down as the input sequence increases. See here for detailed discussion. |
|
Meaning completions from words-in-buffers? Or from installed dictionaries? |
|
From installed dictionaries. Only this way is of practical application value for document writing. We can't expect all intended input words are existed in the buffer, obviously. |
|
Something like this should work: (push '(company-capf :with company-ispell) company-backends)Or without |
|
I tried with it, but noting appeared. |
|
Does |
|
What does |
|
And what does it say after you evaluate |
|
And |
|
The first 10 lines of that buffer are not visible, and they are the most important. |
|
OK, so does completion work fine in this buffer? But it doesn't offer dictionary completions in latex buffers? If so, you have a place in your config where you set up a buffer-local value of |
|
I don't understand your meaning at all. As I've said, each completion only and must be triggered by First, run Now, the completion will be triggered: After I hit the RET to insert the appropriate candidates from the drop-down menu, the completion will be disabled for the next word typesetting, till I re-run |
|
|
|
Hmm, I though you were using Eglot, which works through Try Or |
|
No, this can't solve the problem. I still must run |











On Ubuntu 20.04, I'm using
auctex,eglot,texlab, andcompanyto build a vanilla Emacs based LaTeX document preparation system.The detailed settings are described here. The company relevant configuration is shown below:
And the real effect is represented in the following screenshot:
But, I want to know if it's possible to do the regexp-based search and completion result filtering displayed on the incremental drop-down menu. For example, if I typeset
\?*arrow*, then all LaTeX commands includingarrowwill be shown up in the drop-down menu list.Any hints for this feature will be highly appreciated.
Regards,
HY
The text was updated successfully, but these errors were encountered: