diff options
author | Michael Martin <flrgh@protonmail.com> | 2021-12-21 18:14:38 -0800 |
---|---|---|
committer | Michael Martin <flrgh@protonmail.com> | 2021-12-21 18:14:38 -0800 |
commit | 90ad22a22d60d4455053da1847c2f50ab4a52983 (patch) | |
tree | ce88ddd1dd5d7c6594bf99cc2b2c881bd0ad8cce /meta/3rd | |
parent | 7af17d9d697b326c233a8fbb92db8b39b2de1edc (diff) | |
download | lua-language-server-90ad22a22d60d4455053da1847c2f50ab4a52983.zip |
feat: add new file and word matchers for OpenResty library
Diffstat (limited to 'meta/3rd')
-rw-r--r-- | meta/3rd/OpenResty/config.lua | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/meta/3rd/OpenResty/config.lua b/meta/3rd/OpenResty/config.lua index 07331691..32ac9b29 100644 --- a/meta/3rd/OpenResty/config.lua +++ b/meta/3rd/OpenResty/config.lua @@ -1,4 +1,16 @@ -files = {'resty/redis%.lua'} +files = { + 'resty/redis%.lua', + 'lib/resty/.*%.lua', + 'src/resty/.*%.lua', + 'lib/ngx.*/.*%.lua', + 'src/ngx.*/.*%.lua', +} + +words = { + 'resty%.%w+', + 'ngx%.%w+', +} + configs = { { key = 'Lua.runtime.version', |