Browse Source

Add --startup-file=no to editor integration snippets (#146)

pull/147/head
Jerry Ling 5 months ago committed by GitHub
parent
commit
8cfdd41734
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      README.md

6
README.md

@ -220,7 +220,7 @@ require("conform").setup({
formatters = { formatters = {
runic = { runic = {
command = "julia", command = "julia",
args = {"--project=@runic", "-e", "using Runic; exit(Runic.main(ARGS))"}, args = {"--project=@runic", "--startup-file=no", "-e", "using Runic; exit(Runic.main(ARGS))"},
}, },
}, },
formatters_by_ft = { formatters_by_ft = {
@ -251,7 +251,7 @@ following entry to your `settings.json`:
```json ```json
"customLocalFormatters.formatters": [ "customLocalFormatters.formatters": [
{ {
"command": "julia --project=@runic -e 'using Runic; exit(Runic.main(ARGS))'", "command": "julia --project=@runic --startup-file=no -e 'using Runic; exit(Runic.main(ARGS))'",
"languages": ["julia"] "languages": ["julia"]
} }
] ]
@ -278,7 +278,7 @@ following configuration needs to be added to your `.emacs`.
This assumes that Runic is installed in the `@runic` shared project as suggested in the [Installation](#installation) section above. This assumes that Runic is installed in the `@runic` shared project as suggested in the [Installation](#installation) section above.
``` ```
(push `(runic . ("julia" "--project=@runic" "-e" "using Runic; exit(Runic.main(ARGS))" "--")) apheleia-formatters) (push `(runic . ("julia" "--project=@runic" "--startup-file=no" "-e" "using Runic; exit(Runic.main(ARGS))" "--")) apheleia-formatters)
(push '(julia-mode . runic) apheleia-mode-alist) (push '(julia-mode . runic) apheleia-mode-alist)
``` ```

Loading…
Cancel
Save