Questions tagged [company]
The company tag has no usage guidance.
17
questions
0
votes
2answers
24 views
Company mode won't autocomplete variables with underscores
I have web-mode and company installed but company just seems to autocomplete the variables without underscores:
With Emacs Lisp Mode
With Web-mode
;; --- Company ---
;; Autocomplete with dropdown ...
1
vote
1answer
21 views
What is causing Emacs remote shell to be slow on completion?
So basically I am doing the following:
Opening a dired buffer with tramp on a remote.
Opening a shell on the remote (M-x shell)
Then if I try for example to type any command such as ls -la the ...
1
vote
0answers
125 views
Company: backend company-capf error
I'm using emacs-lsp with company-capf. While editing an elisp file, it works fine. However, once I run eval-buffer, I get the following error when trying to use completion:
Company: backend company-...
1
vote
1answer
62 views
Can company-mode show the doc of the functions?
I am using company-mode for backends to auto-complete in Python and emacs is used as command line.
(add-hook 'after-init-hook 'global-company-mode)
(setq company-auto-complete t)
(setq company-auto-...
1
vote
1answer
73 views
Company-yasnippet doesn't see yasnippet template in lisp
Config:
(use-package yasnippet
:ensure t
:hook
(prog-mode . yas-minor-mode)
)
(use-package yasnippet-snippets
:ensure t
:after yas)
(use-package common-lisp-snippets
:ensure t
:after ...
0
votes
1answer
265 views
company-mode: no completions found
I am new to emacs (long-time vim user). Specifically, I am using doom-emacs.
Doom is supposedly set up to use company-mode for auto completion, but I have not gotten it to work. I have the following ...
0
votes
1answer
29 views
Company installation error
trying to setup go auto completion (using spacemacs), facing an issue while installing company
In end of data:
company-tng.el:198:1:Warning: the function ‘eglot--snippet-expansion-fn’ is
not known to ...
1
vote
1answer
137 views
Why are the company-mode's drop downs ragged?
Here is how my company-mode's drop-downs look,
As you can tell, they are uneven, ugly and somehow a different font than what my Emacs is using (Iosevka). I found this question, but did not quite ...
0
votes
0answers
163 views
Cannot get Company completions to work in LaTeX mode with LSP
I am trying to get LaTeX-specific backends for company to work well with LSP and LaTeX. My problem is I cannot seem to get all the desired backends to work well together. For example, company-capf ...
0
votes
1answer
45 views
How could I abort and apply space when company suggests completion?
While I am typing company shows suggestons. When I press space I want to abort suggestions and apply space, but instead it only does abort. Hence I need to press two times space to apply space.
[Q] ...
0
votes
0answers
67 views
Add classpath for java to company-mode
I'm trying to create a custom Java IDE for Emacs. I installed LSP-Java for syntax checker (flycheck) and autocomplete (company). I added some extra classpaths to flycheck using the variable flycheck-...
2
votes
1answer
656 views
Help setting up company mode. Autocompletion of HTML CSS files
Autocompletion of HTML file by company-mode is not working except when M-x company-web-html is explicitly called.
I'm expecting, for example, type 'di' in an html file, and get suggested 'div' for ...
0
votes
0answers
170 views
ac-php “Wrong type argument: hash-table-p, nil” when calling company-complete
I'm using emacs 27 compiled from git sources and company for code completion.
I tried to set-up ac-php with company and php-mode, but when company tries tp perform auto-complete, I get the following ...
2
votes
0answers
265 views
company doesn't pop up completion list automatically
I'm trying to get company mode to automatically trigger the pop-up with a list of possible completion. Unless I'm doing this wrong this is not the default behaviour? Current I have to run M-x company-...
2
votes
2answers
950 views
How to enable company-mode for some buffers only?
I would like company mode to lead automatically for some buffers like AucTex for example but not on other buffers like Org-mode
global-company-mode
Enables comapny mode everywhere and I only want ...
2
votes
1answer
332 views
how to hook tern and web mode on certain files
I would like for tern to work only on React related files and Tern to only activate when working on React files with Web Mode turned on. Currently, I have tern generally set up with Web Mode, but the ...
3
votes
3answers
116 views
Adding custom word list to company
Is it possible to add my personal custom list of words to the company database. Kindly guide me in a simple way. I am not a programmer.