diff options
author | CppCXY <812125110@qq.com> | 2022-01-21 19:45:34 +0800 |
---|---|---|
committer | CppCXY <812125110@qq.com> | 2022-01-21 19:45:34 +0800 |
commit | e590411cb8559fd3d8eff193729bac750b46803c (patch) | |
tree | 2bc4ce9bf6f09c6f44b3051e1b9dbd334cb6360a /script/provider | |
parent | 6b2dbe282f92928e38d85788f0a6eee26c647042 (diff) | |
download | lua-language-server-e590411cb8559fd3d8eff193729bac750b46803c.zip |
修改命名
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/provider.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 9ca66b43..2c7b934d 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -103,9 +103,9 @@ m.register 'initialize' { if params.initializationOptions then if params.initializationOptions.editorConfigFiles then - local code_format = require "code_format" + local codeFormat = require "code_format" for _, config in pairs(params.initializationOptions.editorConfigFiles) do - local status, err = code_format.update_config(1, config.workspace, config.path) + local status, err = codeFormat.update_config(1, config.workspace, config.path) if not status and err ~= nil then log.error(err) |