Skip to content

Commit a4a6748

Browse files
authored
Update README.md
1 parent 4901e9f commit a4a6748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ Open the compiler and select `Build and run`. You will see the compilation resul
174174

175175
## FAQ
176176
* **I get errors when compiling:** You have to `:cd /your/project/root_dir` before calling [Compiler.nvim](https://starchart.cc/Zeioth/Compiler.nvim).
177+
* **How can I auto `:cd` my projects?** Use [this fork](https://github.com/Zeioth/project.nvim) of the plugin `project.nvim`.
177178
* **I don't have time to read:** If you prefer you can try [NormalNvim](https://github.com/NormalNvim/NormalNvim) which comes with the compiler pre-installed. Just open some code and hit F6!
178179
* **How can I add a language that is not supported yet?** Fork the project, and go to the directory `/compiler/languages`. Copy `c.lua` and rename it to any language you would like to add, for example `ruby.lua`. Now modify the file the way you want. It is important you name the file as the filetype of the language you are implementing. Then please, submit a PR to this repo so everyone can benefit from it.
179180
* **How can I change the way the compiler works?** Same as the previous one.
@@ -186,7 +187,6 @@ Open the compiler and select `Build and run`. You will see the compilation resul
186187

187188
* A way to transpile: toggleterm + tmux.
188189
* A way run the project: Just keep the website opened in your browser.
189-
* **How can I auto `:cd` my projects?** Use [this fork](https://github.com/Zeioth/project.nvim) of the plugin `project.nvim`.
190190

191191
### How can I compile videogames?
192192
The workflow of game development is essencially very different from just compiling and running a program. It involve loading editing and running scenes. While there is no way for us to support it directly, here I offer you some tricks:

0 commit comments

Comments
 (0)