zls icon indicating copy to clipboard operation
zls copied to clipboard

zls puts fastfetch's output at the beginning of a neovim buffer when opened and/or saved

Open YuvrajSinghGitbub opened this issue 1 year ago • 1 comments

Zig Version

0.13.0

ZLS Version

0.13.0

Client / Code Editor / Extensions

NVIM v0.10.3 (astronvim) with zls installed with mason

Steps to Reproduce and Observed Behavior

  1. install zls from mason
  2. open a zig file and write code
  3. save the file

example output: .-------------------------: .+=========================. :++===++==================- :++- :++====+++++=============- .==: -+++=====+++==========: =++++========------------: =+++++=====- ... .++++++=-===: .=+++=: :++++=====-==: -+ :++========-=. .=++. .+==========-. . :+++++++====- .--==-. :++==========. :+++++++: .-===========. =+*+ .-===========: .++: -=======++++:::::::::::::::::::::::::-: .---: :======++++====+++*************=. :=====+++==========++++++++++++++- .====++==============++++++++++- .===+==================+++++++: .-=======================+++: ..........................yuvi@giogio ----------- OS: CachyOS Linux x86_64 Host: HP Pavilion Gaming Laptop 15-ec0xxx Kernel: Linux 6.12.6-2-cachyos Uptime: 3 hours, 9 mins Packages: 1136 (pacman), 11 (flatpak) Shell: fish 3.7.1 Display (NCP0040): 1920x1080 @ 60 Hz in 15" [Built-in] WM: Hyprland (Wayland) Theme: Adwaita-dark [GTK2/3] Icons: Adwaita [GTK2/3] Font: Cantarell (11pt) [GTK2/3] Cursor: Bibata-Modern-Classic (24px) Terminal: nvim const std = @import("std");

Expected Behavior

the expected behavior when opening a zig file in a nvim buffer is that it should have the either no code or if the file is generated by zig init to have the default code

Relevant log output

No response

YuvrajSinghGitbub avatar Dec 26 '24 17:12 YuvrajSinghGitbub

I highly doubt that ZLS is running fastfetch and putting its output into your buffer. I would suggest to look into your neovim or terminal configuration.

techatrix avatar Dec 28 '24 00:12 techatrix