The script will keep running and will make a check every minute. If there have been any changes, the changes will be printed to the console and a macOS notification will be sent.
pip install -r requirements.txt
python scrape.py
---@param types string[] Will return the first node that matches one of these types | |
---@param node TSNode|nil | |
---@return TSNode|nil | |
local function find_node_ancestor(types, node) | |
if not node then | |
return nil | |
end | |
if vim.tbl_contains(types, node:type()) then | |
return node |