Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Clojure, Coffeescript, Haml and Handlebars to paste sheet #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Classes/Dialogs/PasteSheet.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,22 @@ - (id)init

if (!SYNTAXES) {
SYNTAXES = [[NSArray arrayWithObjects:
@"privmsg", @"notice", @"c", @"css", @"diff", @"html",
@"java", @"javascript", @"php", @"plain text", @"python",
@"ruby", @"sql", @"shell script", @"perl", @"haskell",
@"privmsg", @"notice", @"c", @"clojure", @"coffeescript", @"css", @"diff",
@"handlebars", @"haml", @"html", @"java", @"javascript", @"php", @"plain text",
@"python", @"ruby", @"sql", @"shell script", @"perl", @"haskell",
@"scheme", @"objective-c",
nil] retain];
}

if (!SYNTAX_EXT_MAP) {
SYNTAX_EXT_MAP = [[NSDictionary dictionaryWithObjectsAndKeys:
@"C", @"c",
@"Clojure", @"clojure",
@"Coffeescript", @"coffeescript",
@"CSS", @"css",
@"Diff", @"diff",
@"Haml", @"haml",
@"Handlebars", @"handlebars",
@"Haskell", @"haskell",
@"HTML", @"html",
@"Java", @"java",
Expand Down