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
+19-5Lines changed: 19 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,26 +10,35 @@
10
10
11
11
### Code Runner
12
12
- The foundational feature for lab.nvim is a code runner with real-time, inline feedback. (Inspired by [runjs](https://runjs.app/), [quokka](https://quokkajs.com/) and others.)
13
-
- The code runner currently supports javascript with additional language support planned for the very near future.
14
-
- The goal of the code runner isn't to be a full-fledged debugger.
13
+
- The code runner currently supports Javascript, Typescript, Python, and Lua with additional language support planned.
14
+
- The goal of the code runner isn't to be a full-fledged debugger, rather it aims to provide a simple rapid feedback mechanism that can be useful while working on protoyping tasks.
|`Lab code run`| Run or resume the code runner on the current buffer. |
23
-
|`Lab code stop`| Stop the code runner on the current buffer. |
24
-
|`Lab code panel`| Show the code runner info buffer |
22
+
|`Lab code run`| Run or resume the code runner on the current file. |
23
+
|`Lab code stop`| Stop the code runner on the current file. |
24
+
|`Lab code panel`| Show the code runner info buffer. |
25
+
|`Lab code config`| Show the code runner config for the current file. |
26
+
27
+
Note that the run command is also automatically invoked each time you save changes to a file that is currently active.
25
28
26
29
## Requirements
27
30
- neovim >= 0.7.2
28
31
- plenary.nvim
29
32
- node >= 16.10.0
30
33
34
+
## Optional Requirements
35
+
- Python 3 (Python code runner)
36
+
- Lua 5.4 (Lua code runner)
37
+
31
38
## Example Setup
32
39
40
+
**Important:** Notice the post install hook. Lab.nvim has a few internal node dependencies that should be installed. See: [package.json](https://github.com/0x100101/lab.nvim/blob/main/js/package.json#L10)
0 commit comments