add perl mode to the makefiles and convert tabs to spaces
This commit is contained in:
parent
2d1dda867a
commit
7ad2e99db4
3 changed files with 71 additions and 65 deletions
|
|
@ -169,7 +169,10 @@ copy({
|
||||||
console.log('# ace modes ---------');
|
console.log('# ace modes ---------');
|
||||||
|
|
||||||
project.assumeAllFilesLoaded();
|
project.assumeAllFilesLoaded();
|
||||||
["css", "html", "javascript", "php", "python", "xml", "ruby", "java", "c_cpp", "coffee"].forEach(function(mode) {
|
[
|
||||||
|
"css", "html", "javascript", "php", "python", "xml", "ruby", "java", "c_cpp",
|
||||||
|
"coffee", "perl"
|
||||||
|
].forEach(function(mode) {
|
||||||
console.log("mode " + mode);
|
console.log("mode " + mode);
|
||||||
copy({
|
copy({
|
||||||
source: [
|
source: [
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,10 @@ console.log('# ace modes ---------');
|
||||||
|
|
||||||
// create modes
|
// create modes
|
||||||
project.assumeAllFilesLoaded();
|
project.assumeAllFilesLoaded();
|
||||||
["css", "html", "javascript", "php", "python", "xml", "ruby", "java", "c_cpp", "coffee"].forEach(function(mode) {
|
[
|
||||||
|
"css", "html", "javascript", "php", "python", "xml", "ruby", "java", "c_cpp",
|
||||||
|
"coffee", "perl"
|
||||||
|
].forEach(function(mode) {
|
||||||
console.log("mode " + mode);
|
console.log("mode " + mode);
|
||||||
copy({
|
copy({
|
||||||
source: [
|
source: [
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ var oop = require("pilot/oop");
|
||||||
var lang = require("pilot/lang");
|
var lang = require("pilot/lang");
|
||||||
var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightRules;
|
var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightRules;
|
||||||
|
|
||||||
PerlHighlightRules = function() {
|
var PerlHighlightRules = function() {
|
||||||
|
|
||||||
var keywords = lang.arrayToMap(
|
var keywords = lang.arrayToMap(
|
||||||
("base|constant|continue|else|elsif|for|foreach|format|goto|if|last|local|my|next|" +
|
("base|constant|continue|else|elsif|for|foreach|format|goto|if|last|local|my|next|" +
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue