zls
zls copied to clipboard
Globals must go!
The title is pretty self-explanatory: global variables/constructs must go!
- [ ]
main.zig- [ ]
actual_log_level - [x]
stdout, which is actually a BufferedWriter to stdout - [x]
allocator - [x]
document_store - [x]
client_capabilities - [x]
offset_encoding
- [ ]
- [ ]
analysis.zig- [ ]
using_trail - [ ]
resolve_trail
- [ ]
Ideas
- We likely need a
Serverconstruct similar to our test runner's.
There are probably more globals that need addressing and ideas for addressing them, so leave a comment with any feedback!