File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
- /lls -out /
1
+ /luals -out /
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json" ,
3
3
"runtime.version" : " Lua 5.1" ,
4
+ "workspace" : {
5
+ "library" : [
6
+ " $VIMRUNTIME" ,
7
+ " ${3rd}/luv/library"
8
+ ]
9
+ },
4
10
"diagnostics" : {
5
11
"globals" : [
6
12
" vim"
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
# Performs a lua-language-server check on all files.
4
- # lls-check /check.json will be produced on any issues, returning 1.
5
- # Outputs check.json to stdout, all messages to stderr, to allow jq etc.
4
+ # luals-out /check.json will be produced on any issues, returning 1.
5
+ # Outputs only check.json to stdout, all other messages to stderr, to allow jq etc.
6
6
7
7
VER_LLS=" 3.7.3"
8
8
9
9
DIR_SRC=" ${PWD} "
10
- DIR_OUT=" ${DIR_SRC} /lls -out"
10
+ DIR_OUT=" ${DIR_SRC} /luals -out"
11
11
DIR_LLS=" /tmp/lls"
12
12
13
13
# clear output
@@ -21,7 +21,6 @@ if [ ! -d "${DIR_LLS}" ]; then
21
21
fi
22
22
23
23
# execute from within the lua-language-server directory as it expects specific file locations
24
- cd " ${DIR_LLS} " || exit
25
24
OUT=$( " ${DIR_LLS} /bin/lua-language-server" --checklevel=Information --check " ${DIR_SRC} " --logpath=" ${DIR_OUT} " --loglevel=error)
26
25
RC=$?
27
26
You can’t perform that action at this time.
0 commit comments