nomnivore / ollama.nvim

A plugin for managing and integrating your ollama workflows in neovim.
MIT License
311 stars 22 forks source link

fix end_col for selections #4

Closed gerazov closed 7 months ago

gerazov commented 7 months ago

This fixes the end_col index for the selection - it is exclusive so no need to subtract -1.

gerazov commented 7 months ago

Otherwise it was disregarding the last letter of the selection.

ollamanvim_2023-11-21 12-53

nomnivore commented 7 months ago

Nice catch! I usually use visual-line mode so I hadn't run into this myself. Thanks!