Add lua language server checks
This commit is contained in:
parent
1ae21d79f4
commit
5af836b42a
|
@ -4,3 +4,4 @@ docs/build
|
|||
*.blend2
|
||||
*.old
|
||||
node_modules
|
||||
*.log
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
|
||||
"runtime": {
|
||||
"version": "Lua 5.1",
|
||||
"path": [
|
||||
"?.lua",
|
||||
"?/init.lua"
|
||||
],
|
||||
"pathStrict": true
|
||||
},
|
||||
"workspace": {
|
||||
"maxPreload": 1600,
|
||||
"preloadFileSize": 1000,
|
||||
"ignoreDir": [
|
||||
"/locale/",
|
||||
"/libs/",
|
||||
"/3rd",
|
||||
"/.vscode",
|
||||
"/meta",
|
||||
"/.git",
|
||||
"/docs"
|
||||
],
|
||||
"checkThirdParty": false
|
||||
},
|
||||
"typeFormat": {
|
||||
"config": {
|
||||
"format_line": "false"
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"castNumberToInteger": false
|
||||
},
|
||||
"doc": {
|
||||
"privateName": [
|
||||
"_*"
|
||||
]
|
||||
},
|
||||
"diagnostics": {
|
||||
"disable": [
|
||||
"close-non-object"
|
||||
],
|
||||
"groupFileStatus": {
|
||||
"ambiguity": "Any",
|
||||
"await": "Any",
|
||||
"duplicate": "Any",
|
||||
"global": "Any",
|
||||
"luadoc": "Any",
|
||||
"redefined": "Any",
|
||||
"strict": "Any",
|
||||
"type-check": "Any",
|
||||
"unbalanced": "Any",
|
||||
"unused": "Any"
|
||||
},
|
||||
"ignoredFiles": "Opened",
|
||||
"libraryFiles": "Opened",
|
||||
"neededFileStatus": {
|
||||
"codestyle-check": "Any"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,6 +11,10 @@
|
|||
"devDependencies": {
|
||||
"node-fetch": "^3.2.10",
|
||||
"yargs": "^17.6.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0",
|
||||
"npm": ">=8.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ansi-regex": {
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
import * as path from 'node:path';
|
||||
|
||||
const logPath = "/Users/juraj/Library/Application Support/minetest/mods/x_bows"
|
||||
const checkPath = "/Users/juraj/Library/Application Support/minetest/mods/x_bows"
|
||||
const currentPath = process.cwd()
|
||||
|
||||
console.log(currentPath)
|
Ŝarĝante…
Reference in New Issue