bash-lsp / bash-language-server

A language server for Bash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected launch of programs

ChillerDragon opened this issue · comments

Code editor

neovim

Platform

Unix

Version

b858fd1

What steps will reproduce the bug?

Setup neovim with kickstart and add the following line to the init.lua

require('lspconfig').bashls.setup {}

How often does it reproduce? Is there a required condition?

Every time. The condition is assigning a variable value to a program that is in PATH that ignores the --help flag and just launches.

What is the expected behavior?

Not boot any application when requesting the list of auto completions.

What do you see instead?

A Qt/SDL application booting when I type in neovim with bash-lsp active.

Additional information

nvim-lua/kickstart.nvim#727

teeworlds_mentioned.mp4

The problem seems to have been introduced in #1052

I have encountered the same problem. Is there any workaround so far?

I have encountered the same problem. Is there any workaround so far?

I use the following workaround ChillerDragon@70bb028