diff options
author | serg3295 <75196080+serg3295@users.noreply.github.com> | 2022-09-17 21:42:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-17 14:42:29 -0400 |
commit | fba6856a9cfc54904b8417bc5731dc6f25a297ff (patch) | |
tree | 3b629fa59124f86eb68956143c49ab232799d881 /script/library.lua | |
parent | 16f4d9c3269f54c102381d9fa44b5773c5b8c2c2 (diff) | |
download | lua-language-server-fba6856a9cfc54904b8417bc5731dc6f25a297ff.zip |
Use stricter activation pattern for lfs library (#1560)
* Fixed diagnostics error
Blank line in function causes warning.
* Use strict pattern to trigger attaching
the lfs library
Pattern 'lfs%.%w+' is too greedy.
A script using the 'lfs' always contains string "requre('lfs')",
so new pattern uses 'requre...'
Diffstat (limited to 'script/library.lua')
0 files changed, 0 insertions, 0 deletions