Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
Populate
Browse files Browse the repository at this point in the history
  • Loading branch information
Darin Morrison committed Jun 2, 2014
1 parent 0cce770 commit 029315d
Show file tree
Hide file tree
Showing 7 changed files with 197 additions and 0 deletions.
129 changes: 129 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
npm-debug.log

### https://raw.github.com/github/gitignore/88a7dc820eb3f160b9765450eabfea8893debe1b/Global/Linux.gitignore

*~

# KDE directory preferences
.directory


### https://raw.github.com/github/gitignore/88a7dc820eb3f160b9765450eabfea8893debe1b/Global/Mercurial.gitignore

/.hg/*
*/.hg/*
.hgignore


### https://raw.github.com/github/gitignore/88a7dc820eb3f160b9765450eabfea8893debe1b/Node.gitignore

# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# Commenting this out is preferred by some people, see
# https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules

# Users Environment Variables
.lock-wscript


### https://raw.github.com/github/gitignore/88a7dc820eb3f160b9765450eabfea8893debe1b/Global/OSX.gitignore

.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk


### https://raw.github.com/github/gitignore/88a7dc820eb3f160b9765450eabfea8893debe1b/Global/SublimeText.gitignore

# workspace files are user-specific
*.sublime-workspace

# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project

#sftp configuration file
sftp-config.json


### https://raw.github.com/github/gitignore/88a7dc820eb3f160b9765450eabfea8893debe1b/Global/TextMate.gitignore

*.tmproj
*.tmproject
tmtags


### https://raw.github.com/github/gitignore/88a7dc820eb3f160b9765450eabfea8893debe1b/Global/Windows.gitignore

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp


### https://raw.github.com/github/gitignore/88a7dc820eb3f160b9765450eabfea8893debe1b/Global/Xcode.gitignore

build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.xcuserstate
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## 0.1.0 - First Release
* Very rough and basic syntax highlighting support
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
See the [Atom contributing guide](https://github.com/atom/atom/blob/master/CONTRIBUTING.md)
20 changes: 20 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2014 Darin Morrison

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Swift language support in Atom

Adds syntax highlighting to Swift files in Atom.

Contributions are greatly appreciated. Please fork this repository and open an pull request to add snippets, make grammar tweaks, etc.
26 changes: 26 additions & 0 deletions grammars/swift.cson
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
'scopeName' : 'source.swift'
'fileTypes' : [
'swift'
],
'name' : 'Swift'
'patterns' : [
{
'match' : '\\b(class|deinit|enum|extension|func|import|init|let|protocol|static|struct|subscript|typealias|var)\\b'
'name' : 'keyword.declaration.swift'
}
{
'match' : '\\b(break|case|continue|default|do|else|fallthrough|if|in|for|return|switch|where|while)\\b'
'name' : 'keyword.statement.swift'
}
{
'match' : '\\b(as|dynamicType|is|new|super|self|Self|Type|__COLUMN__|__FILE__|__FUNCTION__|__LINE__)\\b'
'name' : 'keyword.expressions-and-types.swift'
}
{
'match' : '\\b(associativity|didSet|get|infix|inout|left|mutating|none|nonmutating|operator|override|postfix|precedence|prefix|right|set|unowned|unowned\(safe\)|unowned\(unsafe\)|weak|willSet)\\b'
'name' : 'keyword.reserved.swift'
}
{
'include' : 'source.objc'
}
]
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name" : "language-swift",
"version" : "0.1.0",
"description" : "Swift language support in Atom",
"license" : "MIT",
"homepage" : "https://github.com/darinmorrison/atom-language-swift",
"repository" : "https://github.com/darinmorrison/atom-language-swift",
"engines" : {
"atom" : ">= 0.100.0"
},
"bugs" : {
"url" : "https://github.com/darinmorrison/atom-language-swift/issues"
}
}

0 comments on commit 029315d

Please sign in to comment.