Skip to content

Conversation

@ThatOneShortGuy
Copy link

@ThatOneShortGuy ThatOneShortGuy commented Jan 31, 2026

The block with the error used to throw a message when booting neovim saying bad argument #2 to 'error' (number expected, got string). This fixes that.

I added directory creation logic because it's required for Windows.

The permissions for the log files were throwing errors in Windows and are probably not right for log files in Linux. The file permissions used to be rwxr-xr-x, but logs don't need executable.

This block used to error out saying arg two was a string, but an integer
was expected, this displays the error.
The directory already existing is a windows requirement

The file permissions used to be `rwxr-xr-x`, but logs don't need most of
that. 0 is the default file creation mode in linux and windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant