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,
};
r.map = {
'.ahk': 'autohotkey',
'.asm': 'nasm',
'.bas': 'basic',
'.bat': 'batch',
'.cxx': 'cpp',
@@ -4881,6 +4881,8 @@ var showfile = (function () {
'.rs': 'rust',
'.sh': 'bash',
'.service': 'systemd',
'.socket': 'systemd',
'.timer': 'systemd',
'.txt': 'ans',
'.vb': 'vbnet',
'.v': 'verilog',
@@ -4889,10 +4891,9 @@ var showfile = (function () {
'.yml': 'yaml'
};
r.nmap = {
'cmakelists.txt': 'cmake',
'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);
for (var a = 0; a < x.length; a++)
if (!r.map["." + x[a]])

View File

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