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: src/getting-started.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Once you have Java 21+ installed there are two ways to proceed:
24
24
- You can use the [Flix VSCode extension](https://marketplace.visualstudio.com/items?itemName=flix.flix) (__highly recommended__) or
25
25
- You can run the Flix compiler from the command line.
26
26
27
-
## Using Flix from Visual Studio Code (VSCode)
27
+
## Using Flix from VSCode
28
28
29
29
Flix comes with a fully-featured VSCode plugin. Follow these steps to get
30
30
started:
@@ -52,7 +52,7 @@ get started:
52
52
nvim --version
53
53
```
54
54
55
-
### Neovim Flix plugin
55
+
### Neovim Plugin
56
56
57
57
There is a Lua [plugin](https://github.com/flix/nvim) which provides an LSP configuration for the native neovim lsp, and several functions to interact with the flix cli. It's repo has detailed installation and configuration instructions.
58
58
It can be installed with a plugin manager of choice or cloned locally into your neovim runtime path.
@@ -117,7 +117,7 @@ The snippet above provides the following keybindings.
117
117
118
118

119
119
120
-
### Manual Neovim Configuration
120
+
### Manual Configuration
121
121
122
122
If you would rather setup the LSP server yourself the code from the plugin is as follows.
Flix can be used from [Emacs](https://www.gnu.org/software/emacs/) as well by installing the [flix-mode](https://codeberg.org/mdiin/flix-mode) package. Follow the instructions there to get started writing Flix code in Emacs.
189
189
190
-
## Using Flix from the Command Line
190
+
## Using Flix from the CLI
191
191
192
192
Flix can also be used from the command line. Follow these steps:
193
193
@@ -196,8 +196,7 @@ Flix can also be used from the command line. Follow these steps:
196
196
> 3. Enter the created directory (e.g. `cd my-flix-project`) and run `java -jar flix.jar init` to create an empty Flix project.
197
197
> 4. Run `java -jar flix.jar run` to compile and run the project.
198
198
199
-
200
-
## Using nix
199
+
## Installing Flix with Nix
201
200
202
201
Flix can also be installed using the [nix package manager](https://nixos.org/).
0 commit comments