Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

Commit

Permalink
Tweak ordering of providers and move global constants and global func…
Browse files Browse the repository at this point in the history
…tions before classes.

This seems to mitigate the problem with casing not being prioritized during fuzzy matching. See also [1].

[1] atom/autocomplete-plus#651
  • Loading branch information
Gert-dev committed Mar 31, 2016
1 parent 1e6208c commit 6926624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ module.exports =
@providers.push(new MemberProvider(@configuration))
@providers.push(new TypeHintNewVariableNameProvider(@configuration))
@providers.push(new VariableProvider(@configuration))
@providers.push(new ClassProvider(@configuration))
@providers.push(new FunctionProvider(@configuration))
@providers.push(new ConstantProvider(@configuration))
@providers.push(new ClassProvider(@configuration))
@providers.push(new GlobalVariableProvider(@configuration))
@providers.push(new MagicConstantProvider(@configuration))
@providers.push(new KeywordProvider(@configuration))
Expand Down

0 comments on commit 6926624

Please sign in to comment.