Skip to content

nagaohiroki/unity.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity.nvim

This is a Neovim plugin for Unity

  • Unity Play/Stop/Refresh with Neovim commands.
  • Debug Unity from Neovim. (Please check the license of the package before using it.)

Requrements

  • Neovim >= 0.10.0
  • NeovimForUnity (Unity Package)
  • .NET SDK installed and dotnet command available(for vsutc debugger)

Installation

{
  'nagaohiroki/unity.nvim',
  opts = {}
}
Command
URefresh Refresh Unity
UPlay Play Unity
UStop Stop Playing Unity
UPause Pause Unity
Unpause Unpause Unity
ShowUnityProcess Show Debug Target Info
UnityDebuggerInstall (Press Ctrl+D to see suggestions) Install Debugger *1
UnityDebuggerUninstall (Press Ctrl+D to see suggestions) Uninstall Debugger

*1 Installed debugger path.

  • Linux or MacOS: ~/.local/share/nvim/unity-debugger
  • Windows: %LOCALAPPDATA%\nvim-data\unity-debugger

Default Configuration

{
  'nagaohiroki/unity.nvim',
  opts = {
    discover_time       = 2000,
    install_path        = vim.fs.joinpath(vim.fn.stdpath('data'), 'unity-debugger', 'extensions'),
    install_path_vscode = vim.fs.joinpath(vim.env.HOME, '.vscode', 'extensions'),
    debugger            = 'vstuc', -- or 'unity_debug'
    debuggers           =
    {
      vstuc =
      {
        publisher = 'VisualStudioToolsForUnity',
        extension = 'vstuc',
        version   = '1.1.1',
      },
      unity_debug =
      {
        publisher = 'deitry',
        extension = 'unity-debug',
        version   = '3.0.11',
      },
    },
  }
}

About

This is a Neovim plugin for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages