diff --git a/demo/kitchen-sink/doclist.js b/demo/kitchen-sink/doclist.js index b5f00b941f5..2ca6a81c468 100644 --- a/demo/kitchen-sink/doclist.js +++ b/demo/kitchen-sink/doclist.js @@ -48,7 +48,6 @@ var docs = { "docs/c9search.c9search_results": "C9 Search Results", "docs/mel.mel": "MEL", - "docs/Nix.nix": "Nix" }; var ownSource = { diff --git a/demo/kitchen-sink/docs/django.html b/demo/kitchen-sink/docs/django.html new file mode 100644 index 00000000000..936afb3a5da --- /dev/null +++ b/demo/kitchen-sink/docs/django.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}Ace Django Template{% endblock %} + +{% block content %} +

Hello, {{ name|default:"World" }}!

+{% endblock %} diff --git a/demo/kitchen-sink/docs/fortran.f90 b/demo/kitchen-sink/docs/fortran.f similarity index 100% rename from demo/kitchen-sink/docs/fortran.f90 rename to demo/kitchen-sink/docs/fortran.f diff --git a/demo/kitchen-sink/docs/Haxe.hx b/demo/kitchen-sink/docs/haxe.hx similarity index 100% rename from demo/kitchen-sink/docs/Haxe.hx rename to demo/kitchen-sink/docs/haxe.hx diff --git a/demo/kitchen-sink/docs/Jack.jack b/demo/kitchen-sink/docs/jack.jack similarity index 100% rename from demo/kitchen-sink/docs/Jack.jack rename to demo/kitchen-sink/docs/jack.jack diff --git a/demo/kitchen-sink/docs/mips.s b/demo/kitchen-sink/docs/mips.s new file mode 100644 index 00000000000..ec4f0091975 --- /dev/null +++ b/demo/kitchen-sink/docs/mips.s @@ -0,0 +1,18 @@ +# Original source from https://eng.libretexts.org +# Kann, Charles W., "Introduction To MIPS Assembly Language Programming" (2015). Open Textbooks. 2. +# https://cupola.gettysburg.edu/oer/2 + +# Program File: Program2-1.asm +# Author: Charles Kann +# Purpose: First program, Hello World +.text # Define the program instructions. +main: # Label to define the main program. + li $v0,4 # Load 4 into $v0 to indicate a print string. + la $a0, greeting # Load the address of the greeting into $a0. + syscall # Print greeting. The print is indicated by + # $v0 having a value of 4, and the string to + # print is stored at the address in $a0. + li $v0, 10 # Load a 10 (halt) into $v0. + syscall # The program ends. +.data # Define the program data. +greeting: .asciiz "Hello World" #The string to print. diff --git a/demo/kitchen-sink/docs/Nix.nix b/demo/kitchen-sink/docs/nix.nix similarity index 100% rename from demo/kitchen-sink/docs/Nix.nix rename to demo/kitchen-sink/docs/nix.nix diff --git a/demo/kitchen-sink/docs/text.txt b/demo/kitchen-sink/docs/text.txt new file mode 100644 index 00000000000..991a5d70146 --- /dev/null +++ b/demo/kitchen-sink/docs/text.txt @@ -0,0 +1,9 @@ +This is just some text! + +// These + # are + -- not + + (but indent actions work) + +This is just some text! diff --git a/src/ext/modelist.js b/src/ext/modelist.js index 8d0517db3cd..c95bb54937b 100644 --- a/src/ext/modelist.js +++ b/src/ext/modelist.js @@ -127,6 +127,7 @@ var supportedModes = { LiveScript: ["ls"], Log: ["log"], LogiQL: ["logic|lql"], + Logtalk: ["lgt"], LSL: ["lsl"], Lua: ["lua"], LuaPage: ["lp"], @@ -190,6 +191,7 @@ var supportedModes = { snippets: ["snippets"], Soy_Template:["soy"], Space: ["space"], + SPARQL: ["rq"], SQL: ["sql"], SQLServer: ["sqlserver"], Stylus: ["styl|stylus"], @@ -202,6 +204,7 @@ var supportedModes = { Textile: ["textile"], Toml: ["toml"], TSX: ["tsx"], + Turtle: ["ttl"], Twig: ["twig|swig"], Typescript: ["ts|typescript|str"], Vala: ["vala"],