Fix python-ts-mode built-in functions and attributes (bug#70478)
authorPrateek Sharma <ps.prateek.sharma143@gmail.com>
Fri, 19 Apr 2024 20:36:17 +0000 (02:06 +0530)
committerYuan Fu <casouri@gmail.com>
Sun, 21 Apr 2024 23:37:15 +0000 (16:37 -0700)
commitafd0b548fcc5e141528a442ff9100fe8e2b98f21
treea98fea86c2f8e4b7222e4d2c7457dfadaa8e9ef4
parentdc720decc3a7f0cfaaaf4467c0c5d2954dec527c
Fix python-ts-mode built-in functions and attributes (bug#70478)

* lisp/progmodes/python.el (python--treesit-settings): Change the
treesitter query to fetch the correct type of node for built-in
functions and attributes and highlight them with corresponding
font-lock face.
lisp/progmodes/python.el