-
-
Notifications
You must be signed in to change notification settings - Fork 55
fix(docs): Update lspconfig
setup snippet
#728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(docs): Update lspconfig
setup snippet
#728
Conversation
WalkthroughThis change refactors the Neovim LSP configuration for Changes
Sequence Diagram(s)sequenceDiagram
participant E as Editor/Neovim
participant L as lspconfig.ast_grep
participant U as lspconfig.util
E->>L: Call setup({...})
L->>U: Use root_pattern(["sgconfig.yaml", "sgconfig.yml"])
U-->>L: Return project root path
L-->>E: Apply LSP configuration with filetypes and cmd parameters
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
The current snippet is a little confusing and doesn't work if you just copy/paste it. This updates the snippet to be fully copy/paste-able to work out of the box and be a little bit more clear when reading it.
Summary by CodeRabbit