You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -328,7 +328,7 @@ Syntax Tree can be used as a library to access the syntax tree underlying Ruby s
328
328
329
329
### SyntaxTree.read(filepath)
330
330
331
-
This function takes a filepath and returns a string associated with the content of that file. It is similar in functionality to `File.read`, except htat it takes into account Ruby-level file encoding (through magic comments at the top of the file).
331
+
This function takes a filepath and returns a string associated with the content of that file. It is similar in functionality to `File.read`, except that it takes into account Ruby-level file encoding (through magic comments at the top of the file).
The `WithEnvironment` module can be included in visitors to automatically keep track of local variables and arguments
573
-
defined inside each environment. A `current_environment` accessor is made availble to the request, allowing it to find
573
+
defined inside each environment. A `current_environment` accessor is made available to the request, allowing it to find
574
574
all usages and definitions of a local.
575
575
576
576
```ruby
@@ -611,7 +611,7 @@ The language server also responds to the relatively new inlay hints request. Thi
611
611
1+2*3
612
612
```
613
613
614
-
Implicity, the `2 * 3` is going to be executed first because the `*` operator has higher precedence than the `+` operator. To ease mental overhead, our language server includes small parentheses to make this explicit, as in:
614
+
Implicitly, the `2 * 3` is going to be executed first because the `*` operator has higher precedence than the `+` operator. To ease mental overhead, our language server includes small parentheses to make this explicit, as in:
615
615
616
616
```ruby
617
617
1+ ₍2*3₎
@@ -686,7 +686,7 @@ Below are listed all of the "official" language plugins hosted under the same Gi
686
686
687
687
## Integration
688
688
689
-
Syntax Tree's goal is to seemlessly integrate into your workflow. To this end, it provides a couple of additional tools beyond the CLI and the Ruby library.
689
+
Syntax Tree's goal is to seamlessly integrate into your workflow. To this end, it provides a couple of additional tools beyond the CLI and the Ruby library.
0 commit comments