in my neocmakelsp, I always need to replace the \r\n with \n, to fix the format problem. because I use the lines() function in rust, to split the text, and rust handle the \r\n correctly, there always be:
tree-sitter tell me that the range is 1 to 10, but what I have is 1 to 9. because by treesitter, the 10th char is \t, this should be correctly handled
seems it is the problem of treesitter? I do not know
in my neocmakelsp, I always need to replace the \r\n with \n, to fix the format problem. because I use the lines() function in rust, to split the text, and rust handle the \r\n correctly, there always be:
tree-sitter tell me that the range is 1 to 10, but what I have is 1 to 9. because by treesitter, the 10th char is \t, this should be correctly handled
seems it is the problem of treesitter? I do not know