Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language support for Luau .luau #814

Closed
Jerse1 opened this issue Feb 26, 2024 · 1 comment
Closed

Language support for Luau .luau #814

Jerse1 opened this issue Feb 26, 2024 · 1 comment

Comments

@Jerse1
Copy link

Jerse1 commented Feb 26, 2024

If you want an unsupported language added, provide:

  • language name: Luau
  • file extension(s): .lua, .luau
  • method(s) of commenting text: The same as Lua 5.1, since it's backward-compatible.
    -- comment here
    --[[
    comment here
    ]]
  • location of sample code:
    https://github.com/dphfox/Fusion
    For other enhancements:
    Give a concise description of what you want cloc to be able to do.
    https://luau-lang.org/
AlDanial added a commit that referenced this issue Feb 27, 2024
@AlDanial
Copy link
Owner

Can't use .lua as an extension for Luau since it already maps to Lua (and I don't know of a way to tell whether a .lua file contains Lua or Luau).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants