summary refs log tree commit diff stats
path: root/lib/std
diff options
context:
space:
mode:
authoralaviss <alaviss@users.noreply.github.com>2019-02-07 23:08:15 +0700
committerMiran <narimiran@disroot.org>2019-02-07 17:08:15 +0100
commit2fdf816332d48f55719c5709477756e872daab0d (patch)
treee5ec3c53d529f72d807e79fde98bd55a7fe2a03c /lib/std
parent29fbf111a878db0ff095f8046a4de9e0f851d466 (diff)
downloadNim-2fdf816332d48f55719c5709477756e872daab0d.tar.gz
compiler/[msgs, suggest]: improve highlighter accuracy (#10496)
Previously the compiler would generate suggestions based on the symbol
identifier length, but that might not reflect the actual representation
of it within the actual source code.

This commit implements a simple source scanner for the suggest module to
address the problem outlined above.

Fixes nim-lang/nimsuggest#24
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions
de0'>d1bbbc9a ^
6b64f800 ^

d1bbbc9a ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95