Skip to content

Editor highlighting

Because .scry uses Python syntax, associate the extension with Python in your editor.

Add a workspace setting:

.vscode/settings.json
{
"files.associations": {
"*.scry": "python"
}
}

Install or enable the official Python extension for syntax highlighting, language services, and completions.

.zed/settings.json
{
"file_types": {
"Python": ["py", "scry"]
}
}
init.lua
vim.filetype.add({ extension = { scry = "python" } })

Open Settings → Editor → File Types → Python, then add *.scry to the registered patterns.

The Scryr CLI already treats .scry as Python. To run Ruff directly, add:

pyproject.toml
[tool.ruff]
extension = { scry = "python" }
extend-include = ["*.scry"]