aboutsummaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2021-04-05 22:36:47 +0200
committerDanielGavin <danielgavin5@hotmail.com>2021-04-05 22:36:47 +0200
commitfe72ff5f06b0a39effaf306ef9f21fef17834ae3 (patch)
tree47eb6e1eae4fdde7d4d13b24a8a392e7ca94f324 /src/index
parentafd020c9a4017c0bb5757fc65428923d208c107a (diff)
Don't index private procedures
Diffstat (limited to 'src/index')
-rw-r--r--src/index/collector.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/collector.odin b/src/index/collector.odin
index d22710a..781418a 100644
--- a/src/index/collector.odin
+++ b/src/index/collector.odin
@@ -211,7 +211,7 @@ collect_symbols :: proc(collection: ^SymbolCollection, file: ast.File, uri: stri
package_map := get_package_mapping(file, collection.config, directory);
- exprs := common.collect_globals(file);
+ exprs := common.collect_globals(file, true);
for expr in exprs {