Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in update_scopedb.cmd file prevents creation of cscope.out.files correctly #354

Open
rsinghgit opened this issue Nov 9, 2023 · 1 comment

Comments

@rsinghgit
Copy link

Describe the bug
Bug in update_scopedb.cmd file prevents creation of cscope.out.files correctly

Steps to reproduce

  1. Open a .c file in a project
  2. Settings in init.lua
    {
    'ludovicchabant/vim-gutentags',
    init = function()
    vim.g.gutentags_modules = { 'ctags', 'cscope_maps' }
    vim.g.gutentags_cscope_build_inverted_index_maps = 1
    vim.g.gutentags_file_list_command = 'fd -e c -e cpp -e h -e hpp -e cc'
    end,
    },
    :messages outpout
    gutentags: Scanning buffer 'C:\proj_folder\path\to\source\file.c' for gutentags setup...
    gutentags: No specific project type.
    gutentags: Setting gutentags for buffer 'C:\proj_folder\path\to\source\file.c'
    gutentags: Generating missing tags file: C:\proj_folder\cscope.out
    gutentags: Running: 'C:/../AppData/Local/nvim-data/lazy/vim-gutentags\plat\win32\update_scopedb.cmd -e cscope -p C:\proj_folder -f C:\proj_folder\cscope.out -L "fd -e c -e cpp -e h -e hpp -e cc" -I'
    gutentags: In: c:\proj_folder
    gutentags: [job stderr]: ['cscope: cannot find file \cm_shared_app\cm_utils\interface\cm_utils.h^M', 'cscope: no source files found^M', '']
    gutentags: [job stdout]: ['']
    gutentags: [job stderr]: ['']
    gutentags: Finished cscope_maps job.
    gutentags: NOOP! cscope_maps does not need add or reset command
@rsinghgit
Copy link
Author

rsinghgit commented Nov 9, 2023

I have a fix that works for me in this pull request: #355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant