Skip to content

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

@rsinghgit

Description

@rsinghgit

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 \interface\xx_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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions