SPB Git

Repository Public

languages.json 3.8 KB 47 lines json

1{2  "styles": {3    "block":   {"open": "/**", "prefix": " * ", "close": " */"},4    "cblock":  {"open": "/*",  "prefix": " * ", "close": " */"},5    "slash":   {"prefix": "// "},6    "hash":    {"prefix": "# "},7    "dash":    {"prefix": "-- "},8    "percent": {"prefix": "% "},9    "semi":    {"prefix": "; "},10    "html":    {"open": "<!--", "prefix": "  ", "close": "-->"}11  },12  "extensions": {13    ".ts": ["TypeScript", "block"], ".tsx": ["TypeScript (TSX)", "block"], ".mts": ["TypeScript", "block"], ".cts": ["TypeScript", "block"],14    ".js": ["JavaScript", "block"], ".jsx": ["JavaScript (JSX)", "block"], ".mjs": ["JavaScript", "block"], ".cjs": ["JavaScript", "block"],15    ".c": ["C", "block"], ".h": ["C/C++ header", "block"], ".cc": ["C++", "block"], ".cpp": ["C++", "block"], ".cxx": ["C++", "block"],16    ".hpp": ["C++ header", "block"], ".hh": ["C++ header", "block"], ".mm": ["Objective-C++", "block"],17    ".cs": ["C#", "block"], ".java": ["Java", "block"], ".kt": ["Kotlin", "block"], ".kts": ["Kotlin script", "block"],18    ".php": ["PHP", "block"], ".dart": ["Dart", "block"], ".scala": ["Scala", "block"], ".groovy": ["Groovy", "block"], ".gradle": ["Gradle", "block"],19    ".css": ["CSS", "block"], ".scss": ["SCSS", "block"], ".less": ["Less", "block"],20    ".metal": ["Metal Shading Language", "block"], ".cu": ["CUDA", "block"], ".cuh": ["CUDA header", "block"],21    ".glsl": ["GLSL", "block"], ".vert": ["GLSL", "block"], ".frag": ["GLSL", "block"], ".comp": ["GLSL", "block"],22    ".wgsl": ["WGSL", "block"], ".hlsl": ["HLSL", "block"], ".proto": ["Protocol Buffers", "block"],23    ".S": ["Assembly (preprocessed)", "cblock"], ".s": ["Assembly", "cblock"], ".asm": ["Assembly", "semi"],24    ".swift": ["Swift", "slash"], ".rs": ["Rust", "slash"], ".go": ["Go", "slash"], ".zig": ["Zig", "slash"],25    ".py": ["Python", "hash"], ".pyi": ["Python stub", "hash"], ".sh": ["Shell", "hash"], ".bash": ["Bash", "hash"], ".zsh": ["Zsh", "hash"],26    ".fish": ["Fish", "hash"], ".ps1": ["PowerShell", "hash"], ".psm1": ["PowerShell", "hash"], ".rb": ["Ruby", "hash"],27    ".r": ["R", "hash"], ".R": ["R", "hash"], ".jl": ["Julia", "hash"], ".pl": ["Perl", "hash"], ".pm": ["Perl", "hash"],28    ".yaml": ["YAML", "hash"], ".yml": ["YAML", "hash"], ".toml": ["TOML", "hash"], ".mk": ["Makefile", "hash"],29    ".cmake": ["CMake", "hash"], ".tf": ["Terraform", "hash"], ".nix": ["Nix", "hash"], ".dockerfile": ["Dockerfile", "hash"],30    ".sql": ["SQL", "dash"], ".lua": ["Lua", "dash"], ".hs": ["Haskell", "dash"], ".elm": ["Elm", "dash"],31    ".tex": ["LaTeX", "percent"], ".sty": ["LaTeX", "percent"], ".cls": ["LaTeX", "percent"], ".bib": ["BibTeX", "percent"],32    ".html": ["HTML", "html"], ".htm": ["HTML", "html"], ".vue": ["Vue", "html"], ".svelte": ["Svelte", "html"],33    ".m": ["Objective-C / MATLAB", "auto-m"]34  },35  "filenames": {36    "Dockerfile": ["Dockerfile", "hash"], "Containerfile": ["Dockerfile", "hash"], "Makefile": ["Makefile", "hash"],37    "makefile": ["Makefile", "hash"], "GNUmakefile": ["Makefile", "hash"], "CMakeLists.txt": ["CMake", "hash"],38    "Gemfile": ["Ruby", "hash"], "Rakefile": ["Ruby", "hash"], "Podfile": ["Ruby", "hash"], "Fastfile": ["Ruby", "hash"],39    "Brewfile": ["Ruby", "hash"], "Justfile": ["Just", "hash"], "justfile": ["Just", "hash"], "Caddyfile": ["Caddyfile", "hash"]40  },41  "shebangs": {"python": ["Python", "hash"], "bash": ["Bash", "hash"], "sh": ["Shell", "hash"], "zsh": ["Zsh", "hash"],42               "fish": ["Fish", "hash"], "ruby": ["Ruby", "hash"], "perl": ["Perl", "hash"], "node": ["JavaScript", "block"],43               "Rscript": ["R", "hash"], "julia": ["Julia", "hash"], "pwsh": ["PowerShell", "hash"], "lua": ["Lua", "dash"]},44  "manual_only_extensions": [".tex", ".sty", ".cls", ".bib"],45  "comment": "manual_only: eligible for an explicit `sp-header apply`, never stamped automatically by hooks (anonymous manuscripts, co-authored papers)."46}47
Files main
Menu

Theme