prism: change language subset;

* add nasm (+0.3 K)
* rm autohotkey (-3.8 K)
* rm cmake (-4.0 K)
This commit is contained in:
ed
2026-01-25 16:26:23 +00:00
parent 69fa1d10bc
commit b20d32593e
2 changed files with 7 additions and 6 deletions

View File

@@ -4858,7 +4858,7 @@ var showfile = (function () {
'nrend': 0, 'nrend': 0,
}; };
r.map = { r.map = {
'.ahk': 'autohotkey', '.asm': 'nasm',
'.bas': 'basic', '.bas': 'basic',
'.bat': 'batch', '.bat': 'batch',
'.cxx': 'cpp', '.cxx': 'cpp',
@@ -4881,6 +4881,8 @@ var showfile = (function () {
'.rs': 'rust', '.rs': 'rust',
'.sh': 'bash', '.sh': 'bash',
'.service': 'systemd', '.service': 'systemd',
'.socket': 'systemd',
'.timer': 'systemd',
'.txt': 'ans', '.txt': 'ans',
'.vb': 'vbnet', '.vb': 'vbnet',
'.v': 'verilog', '.v': 'verilog',
@@ -4889,10 +4891,9 @@ var showfile = (function () {
'.yml': 'yaml' '.yml': 'yaml'
}; };
r.nmap = { r.nmap = {
'cmakelists.txt': 'cmake',
'dockerfile': 'docker' 'dockerfile': 'docker'
}; };
var x = txt_ext + ' ans c cfg conf cpp cs css diff glsl go html ini java js json jsx kt kts latex less lisp lua makefile md nim py r rss rb ruby sass scss sql svg swift tex toml ts vhdl xml yaml zig'; var x = txt_ext + ' ans c cfg conf cpp cs css diff glsl go html ini java js json jsx kt kts latex less lisp lua makefile md nasm nim nix py r rss rb ruby sass scss sql svg swift tex toml ts vhdl xml yaml zig';
x = x.split(/ +/g); x = x.split(/ +/g);
for (var a = 0; a < x.length; a++) for (var a = 0; a < x.length; a++)
if (!r.map["." + x[a]]) if (!r.map["." + x[a]])

View File

@@ -32,7 +32,7 @@ langs=(
# aspnet # aspnet
# asm6502 # asm6502
# asmatmel # asmatmel
autohotkey # autohotkey
# autoit # autoit
# avisynth # avisynth
# avro-idl # avro-idl
@@ -60,7 +60,7 @@ langs=(
# cilkc # cilkc
# cilkcpp # cilkcpp
# clojure # clojure
cmake # cmake
# cobol # cobol
# coffeescript # coffeescript
# concurnas # concurnas
@@ -183,7 +183,7 @@ langs=(
# n4js # n4js
# nand2tetris-hdl # nand2tetris-hdl
# naniscript # naniscript
# nasm nasm
# neon # neon
# nevod # nevod
# nginx # nginx