LintaoAmons/scratch.nvim

[Feature Request] Check if config already exists before creating it

Closed this issue · 1 comments

Currently, on init the config file is always written even if it already exists, potentially overriding saved user config.

Please add a file exists check before:

file:write(vim.fn.json_encode(default_config))

No longer relevant, since now you can just pass in config.