m-pilia / vim-ccls

Vim plugin for the ccls language server
MIT License
97 stars 7 forks source link

Fix a bug in get_node_id_under_cursor() #16

Closed m-pilia closed 5 years ago

m-pilia commented 5 years ago

Fix a bug that allowed to return the wrong id if the label of the node under cursor contained a number within square brackets.

codecov-io commented 5 years ago

Codecov Report

Merging #16 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   95.84%   95.84%           
=======================================
  Files           8        8           
  Lines         433      433           
=======================================
  Hits          415      415           
  Misses         18       18
Impacted Files Coverage Δ
autoload/yggdrasil/tree.vim 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4aa7523...4b0d6e4. Read the comment docs.