Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript layer requires html and auto-complete to recognize .tsx #15412

Closed
joshmccall221 opened this issue Mar 16, 2022 · 1 comment 路 Fixed by #15885
Closed

TypeScript layer requires html and auto-complete to recognize .tsx #15412

joshmccall221 opened this issue Mar 16, 2022 · 1 comment 路 Fixed by #15885

Comments

@joshmccall221
Copy link

Description :octocat:

typescript layer requires auto-completion and html to recognize .tsx files.
https://develop.spacemacs.org/layers/+lang/typescript/README.html

Reproduction guide 馃

  • Start Emacs
   dotspacemacs-configuration-layers
   '(
     ;;auto-completion
     ;;html
     typescript
     )
  • SPC q r
  • open .tsx file

Observed behaviour: 馃憖 馃挃

Buffer is in Fundamental mode instead of Typescript-tsx

Expected behaviour: 鉂わ笍 馃槃

Same behavior as :

   dotspacemacs-configuration-layers
   '(
     auto-completion
     html
     typescript
     )

note: if you don't see change in buffer, kill buffer and restart emacs, open buffer.

System Info 馃捇

  • OS: darwin
  • Emacs: 27.2
  • Spacemacs: 0.999.0
  • Spacemacs branch: develop (rev. e32acdf)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(typescript)
  • System configuration features: NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM MODULES THREADS JSON PDUMPER GMP

Backtrace 馃惥

<<BACKTRACE IF RELEVANT>>
@smile13241324
Copy link
Collaborator

Typescript layer should declare appropriate layer dependencies in this case. For this a layers.el file can be created.

See documentation for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants