ziglang / zig.vim

Vim configuration for Zig
MIT License
448 stars 56 forks source link

Allow user to specify std dir #67

Closed gpanders closed 2 years ago

gpanders commented 2 years ago

Running 'zig env' adds a considerable amount of time to startup, and the relevant result (the std directory) doesn't typically change often. Allow users to manually specify the std dir through the g:zig_std_dir global variable and fallback to calling 'zig env' only if this variable doesn't exist.

haze commented 2 years ago

Thank you for your contribution!