A developer toolkit for the TSL, including syntax highlighting, LSP, formatter, and more.
Go to file
csh 40634c2fda first commit 2025-06-14 15:36:19 +08:00
vim first commit 2025-06-14 15:36:19 +08:00
vscode/tsl-syntax first commit 2025-06-14 15:36:19 +08:00
.gitignore first commit 2025-06-14 15:36:19 +08:00
README.md first commit 2025-06-14 15:36:19 +08:00
test.tsl first commit 2025-06-14 15:36:19 +08:00

README.md

TSL Syntax

该插件提供 tsl 语言的语法高亮

VSCode

安装方式一

复制tsl-syntax文件夹到VSCode扩展目录

Windows: %USERPROFILE%\.vscode\extensions
macOS: ~/.vscode/extensions
Linux: ~/.vscode/extensions

安装方式二

安装vsix扩展

code --install-extension tsl-syntax-1.0.0.vsix

Vim

tsl.vim放入~/.vim/syntax/

" 你的vimrc加入可同时支持tsl和tsf
autocmd BufNewFile,BufRead *.ts[lf] setf tsl