Skip to content

Commit 4d03e95

Browse files
committed
Update README and LICENSE
1 parent c962452 commit 4d03e95

2 files changed

Lines changed: 33 additions & 10 deletions

File tree

LICENSE

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Sarah Ridge
3+
Copyright (c) 2020-2025 Sarah Ridge
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -19,3 +19,25 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22+
23+
================================================================================
24+
25+
The following files and related configuration in package.json are based on a
26+
sequence of adaptions: syntaxes/ruby.tmLanguage.json, syntaxes/erb.tmLanguage.json,
27+
syntaxes/gemfile.tmLanguage.json.
28+
29+
Copyright (c) 2016 Peng Lv
30+
Copyright (c) 2017-2019 Stafford Brunk
31+
https://github.com/rubyide/vscode-ruby
32+
33+
Released under the MIT license
34+
https://github.com/rubyide/vscode-ruby/blob/main/LICENSE.txt
35+
36+
Copyright (c) 2014 GitHub Inc.
37+
https://github.com/atom/language-ruby
38+
39+
Released under the MIT license
40+
https://github.com/atom/language-ruby/blob/master/LICENSE.md
41+
42+
https://github.com/textmate/ruby.tmbundle
43+
https://github.com/textmate/ruby.tmbundle#license

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,24 @@
66

77
Ruby, ERB and Gemfile Syntax Support.
88

9-
This Extension allows for Ruby Syntax Support without needing to install language server, debugger etc.
10-
11-
Original Ruby and ERB Syntax Grammar forked from [vscode-ruby](https://github.com/rubyide/vscode-ruby).
9+
This Extension allows for Ruby Syntax Support without needing to install language server, debugger etc. for a way to keep things simple and distraction free.
1210

1311
## Install
1412
- Run: `code --install-extension SarahRidge.vscode-ruby-syntax`
1513
- Alternatively, extension can be installed via [marketplace](https://marketplace.visualstudio.com/items?itemName=SarahRidge.vscode-ruby-syntax)
1614
- Reload VSCode
1715

18-
### Changes differing from forked syntaxes:
16+
## Notes
17+
- The initial language grammar was copied from [`vscode-ruby`](https://github.com/rubyide/vscode-ruby) which is no longer supported
18+
- [`ruby-lsp`](https://github.com/Shopify/ruby-lsp) as the successor now maintains ruby grammars
19+
20+
### Diffs
1921
- Added Grammar for `Gemfile` following [bundler docs](https://bundler.io/man/gemfile.5.html)
20-
- Added [Ternary](https://docs.ruby-lang.org/en/2.7.0/syntax/control_expressions_rdoc.html#label-Ternary+if) `:`
21-
- Added [Ruby Range](https://ruby-doc.org/core-2.7.1/Range.html)
22-
- Fixed Comment Blocks for `.erb` files to allow for html block commenting `<!-- -->"` (still respects single line comments `<%# %>`)
22+
- Added Ternary `:`
23+
- Added Ruby Range `..`
2324
- Fixed variable recognition ending with `?` or `!`
24-
25-
** Pull Requests submitted to [forked repository](https://github.com/rubyide/vscode-ruby/pulls) for `ruby` and `erb` grammar changes addressed in this repo. **
25+
- Fixed Comment Blocks for `.erb` files by adding `<%#` to each line
26+
- Fixed multiline arithmetic operations and regex matching collisions
2627

2728
## References
2829
- [Syntax Highlight Guide](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide)

0 commit comments

Comments
 (0)