Files
Yinzuo JiangandDoug Kearns 9f32857868 patch 9.2.1304: filetype: Ascend C files are not recognized
Problem:  filetype: Ascend C files are not recognized
Solution: Detect *.asc files as ascendc filetype, add ftplugin, syntax
          and indent.vim scripts (Yinzuo Jiang).

Reference:
https://www.hiascend.com/en-sg/document/detail/en/CANNCommunityEdition/latest/programug/Ascendcopdevg/asc-devkit/docs/en/guide/getting_started/ascend_c_overview_and_learning_path.md

closes: #21679

Assisted-by: Codex
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-11-08 18:39:42 +00:00

21 lines
1.8 KiB
Plaintext
Generated

| +0&#ffffff0@3|o|u|t|p|u|t|[|0+0#e000002&|]+0#0000000&| |=| |i|n|p|u|t|[|0+0#e000002&|]+0#0000000&|;| @49
@4|s|i|m|d|_|h|e|l|p|e|r|(|0+0#e000002&|)+0#0000000&|;| @55
|}| @73
@75
|_+0#00e0003&@1|g|l|o|b|a|l|_@1| +0#0000000&|_+0#00e0003&@1|a|i|c|o|r|e|_@1| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&|k|e|r|n|e|l|(|_+0#00e0003&@1|g|m|_@1| +0#0000000&|f+0#00e0003&|l|o|a|t| +0#0000000&|*|i|n|p|u|t|)| @20
>{| @73
@4|_+0#00e0003&@1|u|b|u|f|_@1| +0#0000000&|f+0#00e0003&|l|o|a|t| +0#0000000&|l|o|c|a|l|[|2+0#e000002&|5|6|]+0#0000000&|;| @44
@4|_+0#00e0003&@1|c|b|u|f|_@1| +0#0000000&|f+0#00e0003&|l|o|a|t| +0#0000000&|l|1|[|2+0#e000002&|5|6|]+0#0000000&|;| @47
@4|_+0#00e0003&@1|c|a|_@1| +0#0000000&|f+0#00e0003&|l|o|a|t| +0#0000000&|l|0|a|[|2+0#e000002&|5|6|]+0#0000000&|;| @48
@4|_+0#00e0003&@1|c|b|_@1| +0#0000000&|f+0#00e0003&|l|o|a|t| +0#0000000&|l|0|b|[|2+0#e000002&|5|6|]+0#0000000&|;| @48
@4|_+0#00e0003&@1|c@1|_@1| +0#0000000&|f+0#00e0003&|l|o|a|t| +0#0000000&|l|0|c|[|2+0#e000002&|5|6|]+0#0000000&|;| @48
@4|_+0#00e0003&@1|f|b|u|f|_@1| +0#0000000&|f+0#00e0003&|l|o|a|t| +0#0000000&|f|i|x|p|i|p|e|[|2+0#e000002&|5|6|]+0#0000000&|;| @42
@4|_+0#00e0003&@1|s@1|b|u|f|_@1| +0#0000000&|f+0#00e0003&|l|o|a|t| +0#0000000&|s|c|r|a|t|c|h|[|2+0#e000002&|5|6|]+0#0000000&|;| @41
@4|a|s|c|_|v|f|_|c|a|l@1|<|s|i|m|t|_|f|u|n|c|t|i|o|n|>|(|d|i|m|3|(|2+0#e000002&|5|6|)+0#0000000&|,| |i|n|p|u|t|,| |l|o|c|a|l|)|;| @18
@4|a|s|c|_|v|f|_|c|a|l@1|<|s|i|m|d|_|f|u|n|c|t|i|o|n|>|(|l|o|c|a|l|,| |l|o|c|a|l|)|;| @29
|}| @73
@75
|e+0#00e0003&|x|t|e|r|n| +0#0000000&|"+0#e000002&|C|"| +0#0000000&|_+0#00e0003&@1|g|l|o|b|a|l|_@1| +0#0000000&|_+0#00e0003&@1|v|e|c|t|o|r|_@1| +0#0000000&|_+0#00e0003&@1|a|i|c|o|r|e|_@1| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&|v|e|c|t|o|r|_|k|e|r|n|e|l|(|_+0#00e0003&@1|g|m|_@1| +0#0000000&|f+0#00e0003&|l|o|a|t
| +0#0000000&|*|i|n|p|u|t|)| @66
@57|3|4|,|1| @9|5|9|%|