You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typescript layer sets a hook on web-mode used to detect if file is tsx. This check uses buffer-file-name to obtain the file extension, but when the buffer is not attached to a file buffer-file-name is nil, so the check crashes.
The text was updated successfully, but these errors were encountered:
PS: I use string-edit.el to edit templates contained into typescript strings. This mode creates a buffer without file for template editing, and this bug breaks web-mode usage in these buffers.
Typescript layer sets a hook on
web-mode
used to detect if file istsx
. This check usesbuffer-file-name
to obtain the file extension, but when the buffer is not attached to a filebuffer-file-name
isnil
, so the check crashes.The text was updated successfully, but these errors were encountered: