Skip to content

dsully/tree-sitter-pyproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

}