diff options
author | CppCXY <812125110@qq.com> | 2022-01-21 19:49:42 +0800 |
---|---|---|
committer | CppCXY <812125110@qq.com> | 2022-01-21 19:49:42 +0800 |
commit | c8d9a8966b41288ff8a3e3fdf9e89bb1a1aee167 (patch) | |
tree | 3e0e2b4a81755574d6500a724083c4bdf80d6681 /script/provider/provider.lua | |
parent | 5efd35c869e13c64f8c7a40ad669893cd014fa2e (diff) | |
download | lua-language-server-c8d9a8966b41288ff8a3e3fdf9e89bb1a1aee167.zip |
修改代码风格
Diffstat (limited to 'script/provider/provider.lua')
-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 2c7b934d..329bc66b 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -930,7 +930,7 @@ m.register 'textDocument/formatting' { function(params) local uri = files.getRealUri(params.textDocument.uri) workspace.awaitReady(uri) - local _<close> = progress.create(workspace.getScope(uri), lang.script.WINDOW_PROCESSING_TYPE_FORMATTING, 0.5) + local _ <close> = progress.create(workspace.getScope(uri), lang.script.WINDOW_PROCESSING_TYPE_FORMATTING, 0.5) if not files.exists(uri) then return nil @@ -960,7 +960,7 @@ m.register 'textDocument/rangeFormatting' { function(params) local uri = files.getRealUri(params.textDocument.uri) workspace.awaitReady(uri) - local _<close> = progress.create(workspace.getScope(uri), lang.script.WINDOW_PROCESSING_TYPE_FORMATTING, 0.5) + local _ <close> = progress.create(workspace.getScope(uri), lang.script.WINDOW_PROCESSING_TYPE_FORMATTING, 0.5) if not files.exists(uri) then return nil |