This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[=[ | |
Copyright (c) 2022- https://github.com/hello-42 | |
MIT Licensing. All rights reserved. | |
]=] | |
local Toggler = {} | |
-- Services | |
local RunService = game:GetService("RunService") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[=[ | |
Copyright (c) 2022- https://github.com/hello-42 | |
MIT Licensing. All rights reserved. | |
]=] | |
-- Services | |
local HttpService = game:GetService("HttpService") | |
-- Internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// Settings in here override those in "LSP/LSP.sublime-settings" | |
{ | |
"clients": { | |
"luau-lsp": { | |
"command": | |
[ | |
"luau-lsp", | |
"lsp", | |
"--definitions=$home\\.luau-lsp\\globalTypes.d.lua", | |
"--docs=$home\\.luau-lsp\\api-docs.json", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$sublHasPath = $FALSE | |
$luauLSPHasPath = $FALSE | |
$luauLspFolder = $NULL | |
try { | |
# Install Sublime | |
winget.exe install -e --id SublimeHQ.SublimeText.4 --force | |
# Check if Sublime is under our PATH environment | |
ForEach ($PATH in $env:PATH.Split(';')) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bootstrapped": true, | |
"in_process_packages": [ | |
], | |
"installed_packages": [ | |
"AutoSetSyntax", | |
"LSP", | |
"Package Control", | |
], | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extensions": | |
[ | |
"luau" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"new_file_syntax": "lua" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%YAML 1.2 | |
--- | |
# http://www.sublimetext.com/docs/syntax.html | |
name: Luau | |
file_extensions: | |
- luau | |
- lua | |
scope: source.luau | |
contexts: | |
main: |