kndndrj / nvim-dbee

Interactive database client for neovim
GNU General Public License v3.0
710 stars 48 forks source link

fix: Add version check for buffer option #134

Closed phdah closed 1 month ago

phdah commented 1 month ago

Thenvim_buf_get_option is depricated from nvim-0.10: https://neovim.io/doc/user/deprecated.html#nvim_buf_get_option()

This simply re-enables the little "dot" that indicates if a buffer is modified, using a backwards compatible check.

phdah commented 1 month ago

@kndndrj, do you see any issue with merging this? Very straight forward break from nvim-0.10.

kndndrj commented 1 month ago

Given that 0.10 is out for a while and dbee is not > v1 yet, I have no problem setting 0.10 as minimal version