doom-neovim / doom-nvim

A Neovim configuration for the advanced martian hacker
GNU General Public License v2.0
1.01k stars 107 forks source link

Fix error when logging to file #354

Closed dwarfmaster closed 2 years ago

dwarfmaster commented 2 years ago

When vim.fn.stdpath('data') does not exists, logging fails when trying to open the doom.log file. This both adds a check that the log file could be opened, and makes sure the data directory exists when starting neovim.

connorgmeehan commented 2 years ago

Thanks for the PR dwarfmaster! merged!