Skip to content

Instantly share code, notes, and snippets.

@landzz
Forked from camille-hdl/js.stx
Created October 20, 2022 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save landzz/a2ef56e22c60aaf39b22149943e901e7 to your computer and use it in GitHub Desktop.
Save landzz/a2ef56e22c60aaf39b22149943e901e7 to your computer and use it in GitHub Desktop.
ES6-friendly EditPlus syntax file
#TITLE=JavaScript
; JavaScript syntax file written by ES-Computing, edited by https://github.com/Eartz/ based on ECMA-262 6th Edition / Draft April 3, 2015.
; This file is required for EditPlus to run correctly.
#DELIMITER=,(){}[]-+*%/="'`~!&|<>?:;.
#QUOTATION1='
#QUOTATION2="
#QUOTATION3=`
#LINECOMMENT=//
#LINECOMMENT2=
#COMMENTON=/*
#COMMENTOFF=*/
#ESCAPE=\
#CASE=y
#NUMBER_PATTERN=cpp
#REGEX_QUOTE=/
#KEYWORD=Reserved words
arguments
break
byte
case
catch
class
const
constructor
continue
default
delete
do
else
export
extends
false
for
from
function
if
import
in
instanceof
let
NaN
new
null
of
return
super
switch
this
throw
true
try
typeof
undefined
var
void
while
with
#KEYWORD=Built-in objects
Array
ArrayBuffer
Boolean
DataView
Date
Error
EvalError
Float32Array
Float64Array
Function
Int8Array
Int16Array
Int32Array
JSON
Math
Map
Number
Object
Proxy
Promise
RangeError
ReferenceError
Reflect
RegExp
Set
String
Symbol
SyntaxError
TypeError
Uint8Array
Uint8ClampedArray
Uint16Array
Uint32Array
URIError
WeakMap
WeakSet
#KEYWORD=Platform-specific objects and properties
Buffer
console
crypto
document
exports
global
history
location
messageManager
module
navigator
process
require
util
window
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment