Skip to content

shiryel/luanti_lsp_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

181 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minetest 5.10 LSP API

These API-headers are made for lua-language-server.

Configure your .luarc.json as follow:

{
  "runtime.version": "LuaJIT",
  "workspace.ignoreSubmodules": false,
  "workspace.library": [
    "./luanti_lsp_api/core",
    "./luanti_lsp_api/definitions",
  ],
  "workspace.ignoreDir": [
    "./luanti_lsp_api/core_template"
  ]
}

For lua-language-server configuration, see LuaLS Wiki on configuring libraries.

Contributing

Use lua_api_gen.exs to generate a lua_api_gen.md, use delta or diff to check what needs to be updated on the ./definitions, e.g.:

delta lua_api.md lua_api_gen.md

Note: you can omit text from the generated lua_api_gen.md by using -- instead of ---, useful for when needing to re-order some text from the original docs

About

LSP headers for Luanti

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Lua 98.2%
  • Elixir 1.8%