diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-09-06 16:23:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-09-06 16:23:24 +0800 |
commit | 7047393031801c91c8d0cf78a77c91e5a6f64114 (patch) | |
tree | ba35a333e65183b4b04ec412b7722b76bec2eadf /script/provider | |
parent | f7f0929f8b7c8997a6e390f8e738b9634efc5f29 (diff) | |
download | lua-language-server-7047393031801c91c8d0cf78a77c91e5a6f64114.zip |
improve document-symbol
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/provider.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 2f1451b0..a312bf1e 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -785,7 +785,7 @@ m.register 'textDocument/documentSymbol' { symbol.selectionRange[2] ) if symbol.name == '' then - symbol.name = lang.script.SYMBOL_ANONYMOUS + symbol.name = ' ' end symbol.valueRange = nil if symbol.children then |