AstroNvim / astrocommunity

A community repository of common plugin specifications
GNU General Public License v3.0
1.04k stars 214 forks source link

fix(typescript): improve `prettier` detection with `astrocore.rooter` #960

Closed mehalter closed 1 month ago

mehalter commented 1 month ago

📑 Description

This leverages AstroCore's built in rooter module to improve the prettier detection. It will search up to detect prettier configuration files moving up the filesystem to handle being inside a nested folder. This also adds LSP integration by checking for package.json files inside of all LSP working directories along with the current directory

ℹ Additional Information

github-actions[bot] commented 1 month ago

Review Checklist

Does this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist:

Proper conventional commit scoping: