Skip to content

Gutentags writes logging at the Neovim cursor polluting the UI #368

Description

@kalocsaibotond

Describe the bug
On a newer Neovim version and windows 11, gutentags just dumps log information at the neovim cursor.
It looks like this on one of my projects:

Image

So far the only way I could mute this is setting :let g:gutentags_trace = 1 .

Steps to reproduce
Just save the file with w or launch gutentag tags generation.

Share your setup
I am using Windows 11.
I am using the following Neovim version:

NVIM v0.12.2
Build type: Release
LuaJIT 2.1.1774638290

I am using the ctags:

Universal Ctags 6.1.0(v6.1.0), Copyright (C) 2015-2023 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Dec 29 2023, 08:24:13
  URL: https://ctags.io/
  Output version: 0.0
  Optional compiled features: +win32, +wildcards, +regex, +gnulib_regex, +internal-sort, +unix-path-separator, +iconv, +option-directory, +xpath, +json, +interactive, +yaml, +case-insensitive-filenames, +packcc, +optscript, +pcre2

I do not use g:gutentags_cache_dir.

Post the logs
Here is the messages content.

"src\xray_tube_sim\filters.py" 469L, 16386B
gutentags: Generating wildignore options: C:\Users\botond.kalocsai\AppData\Local\Temp\nvim.0\JciOIa\0
gutentags: Running: '& "C:/Users/botond.kalocsai/.local/share/nvim-data/lazy/vim-gutentags\plat\win32\update_tags.cmd" -e "ctags" -t "tags" -p "." -s "src\xray_tube_sim\filters.py" -o "C:/Users/botond.kalocsai/.local/share/nvim-data/lazy/vim-gutentags\res\ctags_recursive.options" -x "@C:\Users\botond.kalocsai\AppData\Local\Temp\nvim.0\JciOIa\0" -l "tags.log"'
gutentags: In:      C:\Users\botond.kalocsai\Documents\Python Packages\xray-tube-sim
gutentags: [job stdout]: ['']
gutentags: [job stderr]: ['']
gutentags: Finished ctags job.

Here is the tags.log content:

Locking tags file... 
Removing references to: src\xray_tube_sim\filters.py 
findstr /V /C:"src\xray_tube_sim\filters.py" "tags" > "tags.temp" 
Running ctags 
call "ctags" -f "tags.temp"  --options=C:/Users/botond.kalocsai/.local/share/nvim-data/lazy/vim-gutentags\res\ctags_recursive.options --exclude=@C:\Users\botond.kalocsai\AppData\Local\Temp\nvim.0\JciOIa\0 --append "src\xray_tube_sim\filters.py" 
Replacing tags file 
move /Y "tags.temp" "tags" 
        1 file(s) moved.
Unlocking tags file... 
Done. 

Additional context
Otherwise the tag generation seems to work fine.

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