davidmh / cspell.nvim

A companion plugin for null-ls/none-ls, adding support for CSpell diagnostics and code actions.
85 stars 15 forks source link

fix: error creating new JSON config #46

Closed Frederick888 closed 10 months ago

Frederick888 commented 10 months ago

Path:new(nil):exists() returns true (Path:new(nil) and Path:new("") return cwd), so we must check whether get_config_path() returns nil first.


An oopsie from my last PR... :pray: