dhananjaylatkar / cscope_maps.nvim

For old school code navigation. Adds cscope support to Neovim 0.9+.
MIT License
144 stars 32 forks source link

`db show` raises error "expected string, got nil" #54

Closed rockyzhang24 closed 1 month ago

rockyzhang24 commented 1 month ago

Describe the bug See the screenshot below please.

To Reproduce Run :Cscope db build followed by :Cs db show.

Expected behavior Should show the db and no errors

Screenshots

image

nvim version (please complete the following information): I am using the nightly neovim. NVIM v0.11.0-dev-740+g4c5bce9cb

cscope_maps config (please complete the following information):

require('cscope_maps').setup({
  cscope = {
    exec = 'gtags-cscope',
    project_rooter = {
      enable = true,
    },
  },
})

Additional context No.

Thank you!

dhananjaylatkar commented 1 month ago

Hi @rockyzhang24 I'm not able to repro this but see some null value in db. Can you try fix from db-path branch? I can merge if it fixes your issue

rockyzhang24 commented 1 month ago

Hello. It works perfectly. Thank you for the quick fix.