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.5 KiB
Plaintext
Generated

|e+0#00e0003#ffffff0|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
|{| @73
|}| @73
@75
>e+0#00e0003&|x|t|e|r|n| +0#0000000&|_+0#00e0003&@1|g|l|o|b|a|l|_@1| +0#0000000&|_+0#00e0003&@1|a|i|c|p|u|_@1| +0#0000000&|u+0#00e0003&|i|n|t|3|2|_|t| +0#0000000&|a|i|c|p|u|_|k|e|r|n|e|l|(|v+0#00e0003&|o|i|d| +0#0000000&|*|a|r|g|s|)|;| @12
|_+0#00e0003&@1|g|l|o|b|a|l|_@1| +0#0000000&|_+0#00e0003&@1|c|u|b|e|_@1| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&|c|u|b|e|_|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|)| @17
|{| @73
|}| @73
@75
|_+0#00e0003&@1|m|i|x|_@1|(+0#0000000&|1+0#e000002&|,+0#0000000&| |2+0#e000002&|)+0#0000000&| |_+0#00e0003&@1|g|l|o|b|a|l|_@1| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&|m|i|x|e|d|_|k|e|r|n|e|l|(|)| @30
|{| @73
|}| @73
@75
|_+0#00e0003&@1|s|c|h|e|d|m|o|d|e|_@1|(+0#0000000&|1+0#e000002&|)+0#0000000&| |_+0#00e0003&@1|g|l|o|b|a|l|_@1| +0#0000000&|_+0#00e0003&@1|m|i|x|_@1|(+0#0000000&|1+0#e000002&|,+0#0000000&| |2+0#e000002&|)+0#0000000&| |v+0#00e0003&|o|i|d| +0#0000000&|s|c|h|e|d|u|l|e|d|_|k|e|r|n|e|l|(|)| @9
|{| @73
|}| @73
@75
|_+0#00e0003&@1|a|i|c|o|r|e|_@1| +0#0000000&|_+0#00e0003&@1|i|n|l|i|n|e|_@1| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&|d|e|v|i|c|e|_|i|n|l|i|n|e|(|)| @32
@57|5|0|,|1| @9|9|5|%|