language: Add configuration option to disable runnables#60766
language: Add configuration option to disable runnables#60766AlvaroParker wants to merge 2 commits into
Conversation
This doesn't address the comment at #50987 (comment) This PR will disable runners in markdown entierly, which makes sense now since zed doesn't support runnables on Markdown files. If runnables in markdown is in the roadmap, then a new approach for this bug is probably best. Maybe a similar configuration that avoids nested runnables (which is what's causing go runnables to appear on |
Objective
Solution
runnableconfig toLanguageConfigthat disables runnables if set to falseconfig.tomlconfig for Markdown to disable runnablesTesting
.go, .rs) with tests to check that runnables are still being displayed on the editor.Self-Review Checklist:
Showcase
Left is markdown with language config
runnable = falseand right is latest zed nightly release.Release Notes:
runnablesvia language configuration.