diff --git a/gulpfile.js b/gulpfile.js index eb068c65..12d7511e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -81,7 +81,8 @@ gulp.task('release', ['clean-release','compile'], function() { bundleOne('src/mysql'), bundleOne('src/redshift'), bundleOne('src/pgsql'), - bundleOne('src/redis') + bundleOne('src/redis'), + bundleOne('src/csp') ) .pipe(uglify({ output: { diff --git a/src/csp.ts b/src/csp.ts new file mode 100644 index 00000000..d20787a2 --- /dev/null +++ b/src/csp.ts @@ -0,0 +1,47 @@ +// Create your own language definition here +// You can safely look at other samples without losing modifications. +// Modifications are not saved on browser refresh/close though -- copy often! +return { + // Set defaultToken to invalid to see what you do not tokenize yet + // defaultToken: 'invalid', + keywords: [], + typeKeywords: [], + operators: [], + symbols: /[=>