doomemacs / doomemacs/core

typescript Getting template fragments when using code complete

Open
#7,044 1 comment 0 reactions 0 assignees View on GitHub
is:bug needs-triage
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 or 28. *(Doom does not support development builds like 29+ or any version ending in .50 or .9x)*

### Expected behavior

When I hit enter when code completing. It should complete and drop me into the insertion points

### Current behavior

Attaching screenshare of the issue.
The completion prompt is populating correctly but when I hit enter the expansion includes some completion fragments.
I'm a bit unsure on where to start debugging this. Is it a LSP issue YASNIPPET or Doom issue? What actually does the completion here? vertico?
Thank you for any support and teaching.

https://user-images.githubusercontent.com/39024/213097378-ef34dd84-3749-44fd-8947-128e0fd55f9e.mov

In packages I have `(javascript +lsp)` enabled.
```
~/.emacs.d/bin/doom version
GNU Emacs v28.2 nil
Doom core v3.0.0-pre HEAD -> master e96624926 2023-01-01 21:55:13 -0500
Doom modules v22.10.0-pre HEAD -> master e96624926 2023-01-01 21:55:13 -0500
```

If I look at my processes in htop I see that typescript-language-server is running.

### Steps to reproduce

1. in a typescript file
2. Attempt to autocomplete

### System Information

https://gist.github.com/tabuchid/7c876fb2fcd32dd2788b68e66669c07e

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.