Overview
| Comment: | 补上数据 |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
564e91a9f211f520c72529a3caf0ef4b |
| User & Date: | 顽雨沉风 on 2024-02-02 15:22:12.710 |
| Other Links: | manifest | tags |
Context
|
2024-02-02
| ||
| 15:25 | 需支持两个程序,故将重复代码抽离 check-in: 4f76259610 user: 顽雨沉风 tags: trunk | |
| 15:22 | 补上数据 check-in: 564e91a9f2 user: 顽雨沉风 tags: trunk | |
| 15:20 | 需知文件在哪,故有目录;需对文件调用命令行,故有命令行前缀;只针对lua文件,故有文件类型。 check-in: 80679028e7 user: 顽雨沉风 tags: trunk | |
Changes
Modified 残局文料/用命令行工具排版lua文件.lua
from [feb379fd6d]
to [ca68d3d119].
| ︙ | ︙ | |||
26 27 28 29 30 31 32 |
历排库.处理后返回新排(k1_9, 令行库.执行命令)
end
local k1 = 字集码互转库.u8_to_a([[../single]])
local k2 = 字集码互转库.u8_to_a([[stylua --indent-type Spaces --indent-width 2 --collapse-simple-statement Never ]])
--~ 若不传命令行参数,则后果未必如愿。例如,我想用空格做缩进符,它却用制表符。
d_2.用命令行工具排版lua文件(k1, k2)
d_2.配置表 = {
| | | | | 26 27 28 29 30 31 32 33 34 35 36 |
历排库.处理后返回新排(k1_9, 令行库.执行命令)
end
local k1 = 字集码互转库.u8_to_a([[../single]])
local k2 = 字集码互转库.u8_to_a([[stylua --indent-type Spaces --indent-width 2 --collapse-simple-statement Never ]])
--~ 若不传命令行参数,则后果未必如愿。例如,我想用空格做缩进符,它却用制表符。
d_2.用命令行工具排版lua文件(k1, k2)
d_2.配置表 = {
["文件所在目录"] = [[../single]]
["文件类型"] = ".lua"
["命令行前缀"] = [[stylua --indent-type Spaces --indent-width 2 --collapse-simple-statement Never ]]
}
|