Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 670 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 670 Bytes

tree-sitter-pyproject

WIP: A Tree Sitter Parser for pyproject.toml files.

Only the official specification is implemented. No Poetry notation.

TODOs

  • Grammar
    • Full semantic naming.
  • Tests
  • Capture highlight groups

Neovim

Any linter or language servers such as ruff or taplo should be updated to recognize the pyproject file type.

lazy.nvim

Add this:

{
    "dsully/tree-sitter-pyproject",
    lazy = false, -- required to load ftdetect/
    opts = true, -- runs .setup()

}