neovim / go-client

Nvim Go client
https://pkg.go.dev/github.com/neovim/go-client
Apache License 2.0
561 stars 37 forks source link

About BufferExtmarkByID function's return value #138

Open yyy33 opened 2 years ago

yyy33 commented 2 years ago

What is the meaning of pos in the return value of BufferExtmarkByID function? When I pass the details(true) parameter, the returned length is 3, and when I pass the details(false) parameter, the returned length is 2. I know the first two elements are the start coordinates, but what does the third element mean. Why I don't get the end coordinate when I pass the details(true) parameter, but I can get the end coordinate in vimscript

Translated with www.DeepL.com/Translator (free version)