Can you tell me how to get the line number of the current markdown section using treesitter?
What do you mean using treesitter?
You can use :h getpos() of vim.fn.getpos() from lua
1 Like
Can you tell me how to get the line number of the current markdown section using treesitter?
What do you mean using treesitter?
You can use :h getpos() of vim.fn.getpos() from lua