Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 641 Bytes

File metadata and controls

13 lines (11 loc) · 641 Bytes

This is an addon for lua language server. It includes:

  • Patcher plugin that adds support for the arrow function syntax
  • Annotations for kOS structures, functions and bound variables

Setup for VSCode

  1. Install the lua language server extension made by sumneko.
  2. Copy the .luarc.json file to the archive at *KSP_Folder*/Ships/Script/.luarc.json.
  3. Open the folder with VSCode and you will be asked by the patcher plugin to patch lua language server.
  4. Read the message and press "Ok".
  5. Restart VSCode.

After setup you should have the syntax support and annotations available.