zls icon indicating copy to clipboard operation
zls copied to clipboard

Globals must go!

Open SuperAuguste opened this issue 3 years ago • 0 comments

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 Server construct 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!

SuperAuguste avatar Jul 15 '22 11:07 SuperAuguste