Skip to main content

Scripts client reference

These helper functions are available in the client object in scripts.

  • client.global.set(key, value) - Set a global variable. Persisted across script runs and Neovim restarts.
  • client.global.get(key) - Get a global variable.