Open rhysd opened 3 weeks ago
TypeScript 5.6 supported arbitrary module identifiers.
declare const some_imports: unknown; export { some_imports as "some imports" }; import { "some imports" as foo } from "./module.js";
Syntax highlighting for the export statement worked fine out-of-box but import statement didn't work (notice the string literal is not highlighted):
export
import
This PR fixes the syntax highlighting with renaming typescriptTypeBlock to typescriptImportBlock. The screenshot after the fix is:
typescriptTypeBlock
typescriptImportBlock
I also updated the files in merged/*.vim.
merged/*.vim
TypeScript 5.6 supported arbitrary module identifiers.
Syntax highlighting for the
export
statement worked fine out-of-box butimport
statement didn't work (notice the string literal is not highlighted):This PR fixes the syntax highlighting with renaming
typescriptTypeBlock
totypescriptImportBlock
. The screenshot after the fix is:I also updated the files in
merged/*.vim
.