diff --git a/README.md b/README.md index 9788725..a2dfa7e 100644 --- a/README.md +++ b/README.md @@ -64,9 +64,15 @@ require("godotdev").setup({ Below are the recommended settings for configuring the Godot editor for optimal integration with Neovim as your external editor. To access these settings, make sure that the **Advanced Settings switch is enabled** at the top of the **Editor Settings dialog**. - `Editor Settings > Text Editor > Behavior > Auto Reload Scripts on External Change` + +
Show Screenshot -> Godot Editor Settings
- `Editor Settings > Interface > Editor > Save on Focus Loss` + +
Show Screenshot -> Godot Editor Settings
- `Editor Settings > Interface > Editor > Import Resources When Unfocused` +
Show Screenshot -> Godot Editor Settings
+ ### Open .gdscript/.gdshader from Godot in Neovim When you click on a gdscript in Godot's FileSystem dock it doesn't open automatically in Neovim. @@ -89,11 +95,13 @@ A workaround is to to create a small script which launches the file in Neovim. echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc ``` 1. Configure Godot: `Editor > Editor Settings > Text Editor > External` with full path and `{file} {line} {col}`. + +
Show Screenshot -> Godot Editor Settings
-To make this work you always need to start Neovim like this: -```bash -nvim --listen /tmp/godot.pipe -``` +1. To make this work you always need to start Neovim like this: + ```bash + nvim --listen /tmp/godot.pipe + ```
Tip: Create an alias for that command.