Commit 02b6b06
authored
fix: prevent false-positive auto completions on Svelte components (#2564)
Because Svelte components take precedence, we leave out commit characters to not auto complete in weird places (e.g. when you have `foo.filter(a => a)`) and get autocomplete for component A, then a commit character of `.` would auto import the component which is not what we want
Found after merging #2545 and playing around with it a bit1 parent b823694 commit 02b6b06
File tree
1 file changed
+13
-2
lines changed- packages/language-server/src/plugins/typescript/features
1 file changed
+13
-2
lines changedLines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
| 698 | + | |
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
795 | 806 | | |
796 | 807 | | |
797 | 808 | | |
| |||
0 commit comments