# Defold.nvim - Batteries-included development environment for the Defold game engine, powered by Neovim

**URL:** <https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605>\
**Category:** The Defoldmine\
**Created:** [September 21, 2025, 9:53am UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605 "2025-09-21T09:53:59Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![atomicptr](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/atomicptr/32/40349_2.png) [@atomicptr](https://forum.defold.com/u/atomicptr)\
**Post date:** [August 7, 2026, 11:22pm UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/21 "2026-08-07T23:22:23Z")

</div>

**Release 0.6.0**

- update dependencies
- add support for sending build errors to the quickfix list [(commit)](https://github.com/atomicptr/defold.nvim/commit/cff993249581d9107ea8609c38102e481a730a90)

This allows you to instantly jump to errors in your project

**Release 0.7.0**

- add ability to run the game via Defolds `:make`
- add ability to see the game logs (through `:make`) and parse them for errors to add into quickfix
- new `:DefoldRun` command to well run the game
- remove support for settings keymaps through the plugin, you can restore the original behavior by using: `vim.api.nvim_set_keymap({"n", "i"}, "<C-b>", ":DefoldRun<CR>")`

Switching to `:make` allows the plugin to integrate better into normal Neovim workflows / tooling

---

<div class="post-metadata">

**Author:** ![gamedevshrimp](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/gamedevshrimp/32/44402_2.png) [@gamedevshrimp](https://forum.defold.com/u/gamedevshrimp)\
**Post date:** [August 9, 2026, 4:54pm UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/22 "2026-08-09T16:54:32Z")

</div>

Hello! It looks like the last update broke the build function on macOS. I’ve opened an issue here:

> <https://github.com/atomicptr/defold.nvim/issues/64>
>
> Hi! After the latest changes related to \`:make\`, I'm no longer able to build my …Defold project using \`:make\`.
> 
> On macOS \`defold.nvim\` is installed under \`~/Library/Application Support\`
> The generated makeprg is:
> \`\`\`
> ~/Library/Application Support/defold.nvim/bin/defold-nvim-bridge build-game "path\_to\_game/defold/game\_defold" --min-severity error
> \`\`\`
> When I run :make, I get:
> \`\`\`
> zsh:1: no such file or directory: /Users/evgenii/Library/Application
> \`\`\`
> It looks like the space in Application Support is not being shell-escaped/quoted, so zsh interprets /Users/evgenii/Library/Application as the executable path.
> 
> Could this be related to the new makeprg setup? It seems that the path to defold-nvim-bridge needs to be quoted or otherwise escaped when constructing makeprg.
> 
> Thanks!

---

<div class="post-metadata">

**Author:** ![atomicptr](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/atomicptr/32/40349_2.png) [@atomicptr](https://forum.defold.com/u/atomicptr)\
**Post date:** [August 9, 2026, 8:04pm UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/23 "2026-08-09T20:04:58Z")

</div>

Should be hopefully fixed, I really need to get a Mac/Windows machine at some point to test stuff like this 😃

---

<div class="post-metadata">

**Author:** ![atomicptr](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/atomicptr/32/40349_2.png) [@atomicptr](https://forum.defold.com/u/atomicptr)\
**Post date:** [September 8, 2026, 9:55am UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/24 "2026-09-08T09:55:28Z")

</div>

# Release 0.8.1

Mostly some minor fixes

- **fix** : add launcher.run\_arg config to overwrite run\_arg in termlauncher, which allows modifying the way Neovim is started through custom terminals

- **windows** : default to use game runner mode “send” since “:make” doesn’t seem to work on windows

- **macos** : update to termlauncher 0.4.0 which now supports automatically detecting installed terminals from your /Applications (or ~/Applications) directory

---

<div class="post-metadata">

**Author:** ![atomicptr](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/atomicptr/32/40349_2.png) [@atomicptr](https://forum.defold.com/u/atomicptr)\
**Post date:** [September 20, 2026, 8:30pm UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/25 "2026-09-20T20:30:07Z")

</div>

# Release 0.8.2

- Extend `:checkhealth defold` with dependency informations
- Fix generated `.script_api` annotations not exporting globals
- harden script api compiler to keep compiling everything that it can even when there are errors

# Release 0.8.3

- update Hyprland focus switcher to use new (0.55+) syntax
- improve focus switcher debug logging
- fix Neovide not launching anymore under certain circumstances (since 0.8.1)
- fix remote open file commands doing unnecessary stuff
- add alive-check before asking Neovim to open a file and restart Neovim if necessary

# Release 0.9.0

- add support for completing game object and component paths via blink.cmp

- add support for completing input bindings via blink.cmp

- remove some globals from LSP diagnostics because they interfered with the snippets

# Release 0.9.1

- allow using custom debugger setups (set config: debugger.integration to “local”)
- allow changing the mobdap debugger port via config

# Release 0.9.2

- fix context aware completions appearing multiple times

# Release 0.9.3

- Fix regression when clicking on paths with lines from within Defold

# Release 0.9.4

- Align rust sidecar version with plugin version instead of always pulling the newest one, this allows you to pin the plugin release to an older version without problems
- add rustsec security audits to pipeline

# Release 0.9.5

- Quickfix list: Fix build logs showing “information” events as errors

# Release 0.9.6

- fix windows Powershell path escape/quoting (thanks to HeffU)
- fix panic when using `:make` when Defold returns an issue with `information` severity

---

<div class="post-metadata">

**Author:** ![atomicptr](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/atomicptr/32/40349_2.png) [@atomicptr](https://forum.defold.com/u/atomicptr)\
**Post date:** [October 5, 2026, 9:17am UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/26 "2026-10-05T09:17:14Z")

</div>

# Release 0.10.0

- **Breaking** : refactor debugger integration to auto detect which debugger you’re using, the custom\_\* configs are now under `debugger.mobdebug.` instead
- add support for the [moonbug](https://github.com/atomicptr/moonbug) debugger, would recommend using this over mobdebug, it’s purpose built for Lua ↔ DAP and is more or less built for being used with Defold, its much better (i might be biased)
- add support for attaching to a game in addition to only launching a new one (only moonbug)
- fix error when Defold reports an error outside of a code file (e.g. a collection)

# Release 0.10.1

- fix health check supporting new debugger integration

# Release 0.10.2

- allow enforcing to load a debugger integration via `debugger.force_variant`

---

<div class="post-metadata">

**Author:** ![atomicptr](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/atomicptr/32/40349_2.png) [@atomicptr](https://forum.defold.com/u/atomicptr)\
**Post date:** [November 11, 2026, 7:40pm UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/27 "2026-11-11T19:40:09Z")

</div>

# Release 0.11.0

- add support for the new native Lua debugger
- support the official Lua annotations (and multiple versions if your editor is outdated)
- distinguish between script types and offer per script type snippets
- add support for .gui\_script completions ![2026-11-11-150516](https://forum-defold-uploads.b-cdn.net/original/3X/6/8/683e0b0e4bb3fa738c73575728897880052fa10f.png)
- fix component local paths not working for completions (e.g. you’re in `main:/player#script` and want to access `main:/player#sprite` it previously didn’t show you `#sprite` as an option
- better support for `self` in snippets, defold.nvim now creates “class names” depending on your preferences, e.g. main/world/world\_manager.lua can become `---@class main.world.WorldManager` (namespaces can be disabled)
- rework downloading (should block less)

# Release 0.12.0

- refactor asset handling, everything is now downloaded in a non-blocking manner
- add ability to repair the installation via `:lua require("defold").repair()`
- add an error dialog when Neovim can’t be started from Defold
- improve native debugger support to not rely on brittle log reading

---

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [November 13, 2026, 11:40am UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/28 "2026-11-13T11:40:54Z")

</div>

I was always a bit too afraid of using nvim, but now with the new Lua debugger and all these annotations and completions I’ll give it a shot 🤩

---

<div class="post-metadata">

**Author:** ![atomicptr](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/atomicptr/32/40349_2.png) [@atomicptr](https://forum.defold.com/u/atomicptr)\
**Post date:** [November 13, 2026, 2:11pm UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/29 "2026-11-13T14:11:59Z")

</div>

# Release 0.13.0

- add support for nvim.cmp and (Neovim native) completefunc (experimental)
- add support for preview image integration via `require("defold.preview").get_file("main/main.collection")` this will return a path to the preview of said collection (also supports .go, .ui, etc), I haven’t found a good generic place to integrate this in yet so this is just the functionality to get this for e.g. integrating with your file picker or whatever
- new and improved `:checkhealth defold` page

---

<div class="post-metadata">

**Author:** ![atomicptr](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/atomicptr/32/40349_2.png) [@atomicptr](https://forum.defold.com/u/atomicptr)\
**Post date:** [November 16, 2026, 8:45am UTC](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605/30 "2026-11-16T08:45:57Z")

</div>

# Release 0.14.0

- Add support for custom focus switchers
- Add support for more focus switchers by default (niri, KDE, GNOME (using Window Controls extension)
- Add ability to customize icons and colors
- Add support for mini.icons
- Standardize data/cache directory structure (will reload a lot of stuff on the first launch)
- Use /bin/sh instead of bash on Linux/macOS for launchers
- Support for customizing env vars in the launcher
- Windows: Fix Neovide not working properly anymore

I’d also highly recommend reading the [install part](https://github.com/atomicptr/defold.nvim#install) of the setup again, you should be using tagged releases if possible and I’ve also been playing with doing beta releases so that I can test drive the changes before releasing them, sadly vim.pack just loads the newest tag even if it says something like “v0.14.0-beta2” for which I added some special instructions.

Also we’ll probably be dropping support for Intel Macs at the end of the year unless someone really wants to keep this going, given that Homebrew has already dropped it and Github actions will also next year

[Previous page](https://forum.defold.com/t/defold-nvim-batteries-included-development-environment-for-the-defold-game-engine-powered-by-neovim/81605.md?page=1)
