Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: boatbomber/Highlighter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.9.0
Choose a base ref
...
head repository: boatbomber/Highlighter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jan 10, 2025

  1. Add buffer to builtin (#38)

    jacesc authored Jan 10, 2025
    Copy the full SHA
    99ba55b View commit details
  2. Copy the full SHA
    9127d23 View commit details
Showing with 21 additions and 0 deletions.
  1. +21 −0 src/lexer/language.lua
21 changes: 21 additions & 0 deletions src/lexer/language.lua
Original file line number Diff line number Diff line change
@@ -62,13 +62,15 @@ local language = {

-- Luau Tables
["bit32"] = "table",
["buffer"] = "table",
["coroutine"] = "table",
["debug"] = "table",
["math"] = "table",
["os"] = "table",
["string"] = "table",
["table"] = "table",
["utf8"] = "table",
["vector"] = "table",

-- Roblox Functions
["DebuggerManager"] = "function",
@@ -315,6 +317,25 @@ local language = {
charpattern = "string",
},

vector = {
abs = "function",
angle = "function",
ceil = "function",
clamp = "function",
create = "function",
cross = "function",
dot = "function",
floor = "function",
magnitude = "function",
max = "function",
min = "function",
normalize = "function",
sign = "function",

one = "vector",
zero = "vector",
},

-- Roblox Libraries
Axes = {
new = "function",