nvim-neorocks / rocks-config.nvim

Allow rocks.nvim to help configure your plugins.
GNU General Public License v3.0
55 stars 2 forks source link

feat: avoid crashing and log errors #34

Closed tarcisioe closed 4 months ago

tarcisioe commented 4 months ago

This avoids crashing rocks-config.nvim if a config file has an error. Right now, if any plugin configuration fails, everything that comes after it won't run. E.g.: Let's say I have an error on my lualine.nvim config. Then I don't even have my LSP configured to edit the file and fix it :(

Errors are logged in :checkhealth and the specific information about the error is added as advice:

image_2024-04-18_16-00-00

github-actions[bot] commented 4 months ago

Review Checklist

Does this PR follow the Contribution Guidelines? Following is a partial checklist:

Proper conventional commit scoping:

If applicable:

tarcisioe commented 4 months ago

Changes made!