-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.jsonc
More file actions
66 lines (66 loc) · 2.49 KB
/
config.jsonc
File metadata and controls
66 lines (66 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// /qompassai/lua/lua_ls/addons/hyprlua/config.jsonc
// Qompass AI HyprLua Lua_ls Addon Config
// Copyright (C) 2026 Qompass AI, All rights reserved
/////////////////////////////////////////////////////
{
"$schema": "https://raw.githubusercontent.com/LuaLS/LLS-Addons/main/schemas/addon_config.schema.json",
"name": "hyprlua",
"version": "0.1.0",
"description": "Hyprland 0.55+ Lua API definitions for lua_ls",
"author": "Qompass AI",
"license": "Apache-2.0",
"words": ["hl%.", "require[%s%(%\"']hyprland[%)%\"']"],
"files": ["hyprland%.lua", "hypr%.lua"],
"settings": {
"Lua.completion.callSnippet": "Replace",
"Lua.completion.displayContext": 3,
"Lua.diagnostics.disable": ["undefined-global"],
"Lua.diagnostics.globals": ["hl"],
"Lua.diagnostics.groupFileStatus": {
"luadoc": "Any"
},
"Lua.diagnostics.groupSeverity": {
"await": "Error",
"luadoc": "Warning",
"type-check": "Warning"
},
"Lua.diagnostics.libraryFiles": "Opened",
"Lua.diagnostics.workspaceDelay": 2000,
"Lua.diagnostics.workspaceEvent": "OnSave",
"Lua.hint.arrayIndex": "Auto",
"Lua.hint.await": true,
"Lua.hint.enable": true,
"Lua.hint.paramName": "All",
"Lua.hint.paramType": true,
"Lua.hint.returnType": true,
"Lua.hint.semicolon": "SameLine",
"Lua.hint.setType": true,
"Lua.hover.expandAlias": true,
"Lua.hover.previewFields": 50,
"Lua.runtime.builtin": {
"ffi": "enable",
"jit": "enable",
"utf8": "enable"
},
"Lua.runtime.path": ["?.lua", "?/init.lua"],
"Lua.runtime.special": {
"hl.require": "require"
},
"Lua.runtime.version": "Lua 5.4",
"Lua.semantic.annotation": true,
"Lua.semantic.enable": true,
"Lua.semantic.variable": true,
"Lua.type.castNumberToInteger": true,
"Lua.type.checkTableShape": true,
"Lua.type.inferParamType": true,
"Lua.type.weakNilCheck": false,
"Lua.type.weakUnionCheck": false,
"Lua.workspace.checkThirdParty": "Apply",
"Lua.workspace.ignoreDir": [".git", "*.rockspec"],
"Lua.workspace.ignoreSubmodules": true,
"Lua.workspace.library": ["${addons}/hyprlua/library"],
"Lua.workspace.maxPreload": 5000,
"Lua.workspace.preloadFileSize": 5000,
"Lua.workspace.useGitIgnore": true
}
}