Skip to content

Instantly share code, notes, and snippets.

@solrevdev
Last active August 16, 2022 15:38
Show Gist options
  • Save solrevdev/a2287a3ff303729abc4fc28582f092fa to your computer and use it in GitHub Desktop.
Save solrevdev/a2287a3ff303729abc4fc28582f092fa to your computer and use it in GitHub Desktop.
Sublime Text Copilot Setup Settings for when machine has node >=18
{
// save this to /Users/solrevdev/Library/Application Support/Sublime Text/Packages/User/lsp_utils.sublime-settings
//
// Specifies the type and priority of the Node.js installation that should be used for Node.js-based servers.
// The allowed values are:
// - 'system' - a Node.js runtime found on the PATH
// - 'local' - a Node.js runtime managed by LSP that doesn't affect the system
// The order in which the values are specified determines which one is tried first,
// with the later one being used as a fallback.
// You can also specify just a single value to disable the fallback.
"nodejs_runtime": [
// "system",
"local",
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment