diff options
author | Raphael <glephunter@gmail.com> | 2024-04-28 05:05:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-27 16:05:41 -0500 |
commit | 96f59e1b9902f7622eaaea02eea0329a88b98202 (patch) | |
tree | 0e6934bef39349b4bb10bfbb775db9a4c80c75c5 /runtime/lua/vim/treesitter/language.lua | |
parent | 158e3297255cc82b2830e08d2067948cc4a8521f (diff) | |
download | rneovim-96f59e1b9902f7622eaaea02eea0329a88b98202.tar.gz rneovim-96f59e1b9902f7622eaaea02eea0329a88b98202.tar.bz2 rneovim-96f59e1b9902f7622eaaea02eea0329a88b98202.zip |
fix(diagnostic): invalid col number compare in next_diagnostic (#28397)
Problem: when line is blank link then there will got an invalid column number in math.min compare.
Solution: make sure the min column number is 0 not an illegal number.
Diffstat (limited to 'runtime/lua/vim/treesitter/language.lua')
0 files changed, 0 insertions, 0 deletions