From 3fa9f0699b36e7d95ac9fea47e43347031e273c3 Mon Sep 17 00:00:00 2001 From: Tristian Azuara Date: Sat, 13 Jul 2019 23:16:17 -0700 Subject: [PATCH] Add s and S file types. Update readme. Fixes #8 --- README.md | 14 ++++++++++---- avr-asm.JSON-tmLanguage | 2 +- avr-asm.tmLanguage | 2 ++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4c24460..acc576c 100644 --- a/README.md +++ b/README.md @@ -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 ### @@ -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 \ No newline at end of file diff --git a/avr-asm.JSON-tmLanguage b/avr-asm.JSON-tmLanguage index db18fc4..0a726df 100644 --- a/avr-asm.JSON-tmLanguage +++ b/avr-asm.JSON-tmLanguage @@ -1,7 +1,7 @@ { "name": "AVR ASM", "scopeName": "source.asm", - "fileTypes": ["asm", "inc"], + "fileTypes": ["asm", "inc", "S", "s"], "patterns": [ { diff --git a/avr-asm.tmLanguage b/avr-asm.tmLanguage index b874320..53729d3 100644 --- a/avr-asm.tmLanguage +++ b/avr-asm.tmLanguage @@ -6,6 +6,8 @@ asm inc + S + s name AVR ASM