New buffer opens up on every error in zig language server

I used zls to setup zig language server. Now below the the status bar you can see an extra buffer popping up. The virtual text for diagnostic as default also appears after the error line with the error along with this. I am not sure which plugin of mine does this. Therefore I am asking for extra help.

Surprisingly this only happens with zig language server and not other language server. Here’s my lspconfig for zig. I have no extra options or anything enabled for the same.

lspconfig.zls.setup {}

Here are my plugins:

        use {"wbthomason/packer.nvim", opt = true}
        use {"kyazdani42/nvim-web-devicons"}
        use {"kyazdani42/nvim-tree.lua"}
        use {"nvim-lua/plenary.nvim"}
        use {"lewis6991/gitsigns.nvim"}
        use {"glepnir/galaxyline.nvim"}
        use {"akinsho/nvim-bufferline.lua"}
        use {"nvim-treesitter/nvim-treesitter"}
        use {"chriskempson/base16-vim"}
        use {"norcalli/nvim-colorizer.lua"}
        use { 'Yggdroot/indentLine'}
        use {"ryanoasis/vim-devicons"}
        use {"sbdchd/neoformat"}
        use {"neovim/nvim-lspconfig"}
        use {"hrsh7th/nvim-compe"}
        use {"windwp/nvim-autopairs"}
        use {"alvan/vim-closetag"}
        use {"tweekmonster/startuptime.vim"}
        use {"onsails/lspkind-nvim"}
        use {"nvim-telescope/telescope.nvim"}
        use {"nvim-telescope/telescope-media-files.nvim"}
        use {"nvim-lua/popup.nvim"}
        use {"b3nj5m1n/kommentary"}

I had exactly the same problem. However, it was not related to zls but to the zig executable.

How I managed to solve it was renaming the zig executable to zigc. That prevents the buffer popping but I’m not sure why it solved the problem.