File tree Expand file tree Collapse file tree 6 files changed +84
-3
lines changed
Expand file tree Collapse file tree 6 files changed +84
-3
lines changed Original file line number Diff line number Diff line change 11# changelog
22
3+ ## 2.4.6
4+ ` 2021-10-26 `
5+ * ` NEW ` diagnostic: ` redundant-return `
6+ * ` FIX ` [ #744 ] ( https://github.com/sumneko/lua-language-server/issues/744 )
7+ * ` FIX ` [ #748 ] ( https://github.com/sumneko/lua-language-server/issues/748 )
8+ * ` FIX ` [ #749 ] ( https://github.com/sumneko/lua-language-server/issues/749 )
9+ * ` FIX ` [ #752 ] ( https://github.com/sumneko/lua-language-server/issues/752 )
10+ * ` FIX ` [ #753 ] ( https://github.com/sumneko/lua-language-server/issues/753 )
11+ * ` FIX ` [ #756 ] ( https://github.com/sumneko/lua-language-server/issues/756 )
12+ * ` FIX ` [ #758 ] ( https://github.com/sumneko/lua-language-server/issues/758 )
13+ * ` FIX ` [ #760 ] ( https://github.com/sumneko/lua-language-server/issues/760 )
14+
315## 2.4.5
416` 2021-10-18 `
517* ` FIX ` accidentally load lua files from user workspace
Original file line number Diff line number Diff line change 416416 "scope" : " resource" ,
417417 "type" : " string"
418418 },
419+ "redundant-return" : {
420+ "default" : " Opened" ,
421+ "description" : " %config.diagnostics.redundant-return%" ,
422+ "enum" : [
423+ " Any" ,
424+ " Opened" ,
425+ " None"
426+ ],
427+ "scope" : " resource" ,
428+ "type" : " string"
429+ },
419430 "redundant-value" : {
420431 "default" : " Opened" ,
421432 "description" : " %config.diagnostics.redundant-value%" ,
841852 "scope" : " resource" ,
842853 "type" : " string"
843854 },
855+ "redundant-return" : {
856+ "default" : " Warning" ,
857+ "description" : " %config.diagnostics.redundant-return%" ,
858+ "enum" : [
859+ " Error" ,
860+ " Warning" ,
861+ " Information" ,
862+ " Hint"
863+ ],
864+ "scope" : " resource" ,
865+ "type" : " string"
866+ },
844867 "redundant-value" : {
845868 "default" : " Warning" ,
846869 "description" : " %config.diagnostics.redundant-value%" ,
15501573 "type" : " git" ,
15511574 "url" : " https://github.com/sumneko/lua-language-server"
15521575 },
1553- "version" : " 2.4.5 "
1576+ "version" : " 2.4.6 "
15541577}
Original file line number Diff line number Diff line change 11local json = require ' json-beautify'
22
3- local VERSION = " 2.4.5 "
3+ local VERSION = " 2.4.6 "
44
55local package = require ' package.package'
66local fsu = require ' fs-utility'
Original file line number Diff line number Diff line change 459459 "scope" : " resource" ,
460460 "type" : " string"
461461 },
462+ "redundant-return" : {
463+ "default" : " Opened" ,
464+ "description" : " %config.diagnostics.redundant-return%" ,
465+ "enum" : [
466+ " Any" ,
467+ " Opened" ,
468+ " None"
469+ ],
470+ "scope" : " resource" ,
471+ "type" : " string"
472+ },
462473 "redundant-value" : {
463474 "default" : " Opened" ,
464475 "description" : " %config.diagnostics.redundant-value%" ,
884895 "scope" : " resource" ,
885896 "type" : " string"
886897 },
898+ "redundant-return" : {
899+ "default" : " Warning" ,
900+ "description" : " %config.diagnostics.redundant-return%" ,
901+ "enum" : [
902+ " Error" ,
903+ " Warning" ,
904+ " Information" ,
905+ " Hint"
906+ ],
907+ "scope" : " resource" ,
908+ "type" : " string"
909+ },
887910 "redundant-value" : {
888911 "default" : " Warning" ,
889912 "description" : " %config.diagnostics.redundant-value%" ,
Original file line number Diff line number Diff line change 459459 "scope" : " resource" ,
460460 "type" : " string"
461461 },
462+ "redundant-return" : {
463+ "default" : " Opened" ,
464+ "description" : " %config.diagnostics.redundant-return%" ,
465+ "enum" : [
466+ " Any" ,
467+ " Opened" ,
468+ " None"
469+ ],
470+ "scope" : " resource" ,
471+ "type" : " string"
472+ },
462473 "redundant-value" : {
463474 "default" : " Opened" ,
464475 "description" : " %config.diagnostics.redundant-value%" ,
884895 "scope" : " resource" ,
885896 "type" : " string"
886897 },
898+ "redundant-return" : {
899+ "default" : " Warning" ,
900+ "description" : " %config.diagnostics.redundant-return%" ,
901+ "enum" : [
902+ " Error" ,
903+ " Warning" ,
904+ " Information" ,
905+ " Hint"
906+ ],
907+ "scope" : " resource" ,
908+ "type" : " string"
909+ },
887910 "redundant-value" : {
888911 "default" : " Warning" ,
889912 "description" : " %config.diagnostics.redundant-value%" ,
You can’t perform that action at this time.
0 commit comments