Skip to content

Commit

Permalink
Document formatting file
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglou committed Aug 23, 2020
1 parent eebb860 commit 4687335
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Default.sublime-commands
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"caption": "ReScript: Format file",
"caption": "ReScript: Format File",
"command": "format"
}
]
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Get it from https://packagecontrol.io/packages/ReScript
## Features

- Highlighting
- Soon: formatting
- Formatting: Command Palette (`cmd-shift-p`) -> ReScript: Format File

## Config

- Command Palette (`cmd-shift-p`) -> UI: Select Color Scheme. Use Mariana for best effects. Or try another one and tell us. Mariana colors tokens distinctively (and still pleasantly) enough for module and variant to be visually distinct despite both being capitalized. Gotta have accurate highlighting!
- Command Palette -> UI: Select Color Scheme. Use Mariana for best effects. Or try another one and tell us. Mariana colors tokens distinctively (and still pleasantly) enough for module and variant to be visually distinct despite both being capitalized. Gotta have accurate highlighting!

<!-- - Open this repo's `Default.sublime-settings`, put in the absolute path to the formatter exe in `optionalGlobalFormatter`. -->

Expand All @@ -31,4 +31,4 @@ Tldr (documented in first link):

- Change `ReScript.sublime-syntax`
- Open `syntax_test.res`
- Command Palette (`cmd-shift-p`) -> Build With: Syntax Tests
- Command Palette -> Build With: Syntax Tests

0 comments on commit 4687335

Please sign in to comment.