LSP Company Backends
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### I confirm that...
- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.
- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.
- [X] The issue can be reproduced on the **latest** available commit of Doom.
- [X] The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. *(Unstable versions end in .50, .60, or .9x)*
### Expected behavior
Need snippets to come first in typescript-tsx-mode with lsp, however they are at the bottom of the list
```elisp
;; Global setting for LSP company backends
(setq +lsp-company-backends '(company-yasnippet company-capf company-dabbrev company-dabbrev-code company-tabnine))
;; Mode-specific setting for TypeScript TSX mode
(setq-hook! 'typescript-tsx-mode-hook +lsp-company-backends '(company-yasnippet company-capf company-dabbrev company-dabbrev-code company-tabnine))
(use-package company
:defer 0.1
:config
(global-company-mode t)
(setq company-idle-delay 0.02
company-require-match nil
company-minimum-prefix-length 1
company-frontends '(company-pseudo-tooltip-frontend company-preview-frontend)
company-backends '((company-yasnippet :with company-capf :with company-dabbrev-code)
company-files
company-dabbrev)))
```
my relevant part of config
### Current behavior
When I enter .tsx files with typescript-tsx-mode, the snippets are appearing at the bottom.
### Steps to reproduce
go to .tsx, ensure typescript-tsx-mode is active, see snippets at the bottom no matter what you do.
### System Information
https://pastebin.com/ty6Su9Q9
Contributor guide
Assessment
This issue has not been assessed yet.