Commit d9ac783
authored
fix(util): simplify set_highlights and fix settings being cleared (#63)
fix(util): simplify set_highlight and fix settings being cleared
This function was doing too much unnecessary things and was resetting
user highlights tables to nil as well as unnecessarily trying to merge
tables multiple times this changes should also make this function much
more performant.1 parent a182b19 commit d9ac783
1 file changed
+2
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 58 | + | |
| 59 | + | |
65 | 60 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 61 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 62 | | |
78 | 63 | | |
79 | 64 | | |
| |||
0 commit comments