Skip to content

Add s and S file types. Update readme. Fixes #8 #9

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Description ###

AVR-ASM-Sublime is [avr](http://atmel.com/) assembler syntax definition for [Sublime Text 2](http://www.sublimetext.com/) editor. Support both ASM v1.0 and ASM v2.0 constructions.
AVR-ASM-Sublime provides [avr](http://atmel.com/) assembler syntax definitions for [Sublime Text 3](http://www.sublimetext.com/) editor. It supports both ASM v1.0 and ASM v2.0 constructions.

### Repository Content ###

Expand All @@ -14,11 +14,17 @@ AVR-ASM-Sublime is [avr](http://atmel.com/) assembler syntax definition for [Sub

There are three ways to install this syntax definition.

1. Simplest way. Download repository content to your local disk and copy folder `AVR-ASM-Sublime` (renamed) to Sublime [packages directory](http://sublimetext.info/docs/en/basic_concepts.html#the-packages-directory).
2. Another simplest way. `cd ~/.config/sublime-text-2/packages && git clone git://github.com/voventus/AVR-ASM-Sublime.git`
3. Preferred way. Install this syntax definition through [package control](http://wbond.net/sublime_packages/package_control): Preferences ► Package Control ► Install Package ► AVR-ASM-Sublime
1. Package Control:
Install this syntax definition through [package control](http://wbond.net/sublime_packages/package_control): Preferences ► Package Control ► Install Package ► AVR-ASM-Sublime

2. Manual Download:
Download the repository content to your local disk and copy folder `AVR-ASM-Sublime` (renamed) to Sublime [packages directory](http://sublimetext.info/docs/en/basic_concepts.html#the-packages-directory).

3. Git cloning:
`cd ~/.config/sublime-text-2/packages && git clone git://github.com/voventus/AVR-ASM-Sublime.git`

Restart Sublime if needed.

### Usage ###

As usual: View ► Syntax ► AVR ASM
2 changes: 1 addition & 1 deletion avr-asm.JSON-tmLanguage
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "AVR ASM",
"scopeName": "source.asm",
"fileTypes": ["asm", "inc"],
"fileTypes": ["asm", "inc", "S", "s"],
"patterns": [

{
Expand Down
2 changes: 2 additions & 0 deletions avr-asm.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<array>
<string>asm</string>
<string>inc</string>
<string>S</string>
<string>s</string>
</array>
<key>name</key>
<string>AVR ASM</string>
Expand Down