27 Commits

Author SHA1 Message Date
Simon Gardling
43a6a80bd1 fix HintEnum is_none and is_some 2022-04-08 09:15:53 -04:00
Simon Gardling
66c56a015a split up AutoComplete logic for testability 2022-04-07 15:28:05 -04:00
Simon Gardling
3521ff3a13 use borrows for hints 2022-04-07 10:34:03 -04:00
Simon Gardling
3df2c166b1 get_completion should borrow 2022-04-07 10:19:59 -04:00
Simon Gardling
85c2933829 implement Display for HintEnum 2022-04-07 10:18:50 -04:00
Simon Gardling
c10843140b code improvements 2022-04-07 09:08:52 -04:00
Simon Gardling
b3fea0e9ba improve HintEnum::ToString 2022-04-06 14:42:51 -04:00
Simon Gardling
6f1d64ea02 code cleanup 2022-04-05 09:37:48 -04:00
Simon Gardling
e427e7a04e simplification of autocomplete code 2022-04-04 17:40:31 -04:00
Simon Gardling
dce98d333a improve HintEnum::to_string 2022-04-04 10:35:51 -04:00
Simon Gardling
3aee254de2 borrow string here 2022-04-04 10:18:29 -04:00
Simon Gardling
6d953381aa add more test cases 2022-03-31 18:16:41 -04:00
Simon Gardling
dbd038394c improve test 2022-03-31 15:12:39 -04:00
Simon Gardling
4faf710128 use max length of functions 2022-03-31 15:05:58 -04:00
Simon Gardling
dc53889dd5 clippy 2022-03-31 14:50:50 -04:00
Simon Gardling
92e8da6198 fix hashmaps again 2022-03-31 13:33:53 -04:00
Simon Gardling
9ea2a47246 clippy 2022-03-31 09:54:39 -04:00
Simon Gardling
68b4eb9454 autocomplete fully works now 2022-03-31 09:52:42 -04:00
Simon Gardling
e44823713b fix these tests later 2022-03-30 22:13:40 -04:00
Simon Gardling
2aa3aa47c0 implement ACTUAL autocompletion 2022-03-30 22:07:25 -04:00
Simon Gardling
9624d72d7e implement ACTUAL autocompletion 2022-03-30 22:05:40 -04:00
Simon Gardling
d9c6c8143e use phf (generate hashmap at compiletime) 2022-03-29 16:50:28 -04:00
Simon Gardling
fe8dc62f06 move stuff from AppSettings 2022-03-29 14:46:13 -04:00
Simon Gardling
bb91dc5983 fix suggestions 2022-03-29 13:41:01 -04:00
Simon Gardling
c653c5a1c0 fixes (including for keybindings) 2022-03-29 11:40:07 -04:00
Simon Gardling
734989f1a4 clippy 2022-03-29 11:19:01 -04:00
Simon Gardling
f9e523f320 better autocomplete system 2022-03-29 11:18:27 -04:00