summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/config.lua
diff options
context:
space:
mode:
authorMichael Martin <flrgh@protonmail.com>2021-12-21 18:14:38 -0800
committerMichael Martin <flrgh@protonmail.com>2021-12-21 18:14:38 -0800
commit90ad22a22d60d4455053da1847c2f50ab4a52983 (patch)
treece88ddd1dd5d7c6594bf99cc2b2c881bd0ad8cce /meta/3rd/OpenResty/config.lua
parent7af17d9d697b326c233a8fbb92db8b39b2de1edc (diff)
downloadlua-language-server-90ad22a22d60d4455053da1847c2f50ab4a52983.zip
feat: add new file and word matchers for OpenResty library
Diffstat (limited to 'meta/3rd/OpenResty/config.lua')
-rw-r--r--meta/3rd/OpenResty/config.lua14
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',