-
Notifications
You must be signed in to change notification settings - Fork 200
Cannot disable snippetSupport
for bash-language-server
#1459
-
Hi, guys! I'm using yasnippet for templates, so I thought it would be better to not show snippet candidates of completion from the server. However, I've tried with variables Here's what I did with those variables, settings for other language servers worked, but not for bash
I've tried these two methods for Method 1
Method 2
|
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments · 10 replies
-
Somewhat bizarrely, snippet support is not a server capability, so, accordingly, |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for the reply, this is very informative to know. However, I saw neovim users are able to configure to not show snippets in completion at the client side by directly specifying Here's the link in the neovim forum: https://neovim.discourse.group/t/how-to-disable-lsp-snippets/922/2 |
Beta Was this translation helpful? Give feedback.
All reactions
-
Sorry, I missed something, it doesn't work. Unluckily, setting up This is the company config:
The values of
Invoking
And it shows up an error in the
|
Beta Was this translation helpful? Give feedback.
All reactions
-
@joaotavora It seems like a bug. Executing |
Beta Was this translation helpful? Give feedback.
All reactions
-
If you think it's a bug, show a full recipe from Emacs -Q. See the manual
for instructions
…On Tue, Oct 29, 2024, 19:57 IceAsteroid ***@***.***> wrote:
@joaotavora <https://github.com/joaotavora> It seems like a bug.
Executing (eglot--stay-out-of-p 'yasnippet) has already shown the symbol
yasnippet. But snippet candidates are still shown.
—
Reply to this email directly, view it on GitHub
<#1459 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC6PQ3HONM33RTANKOWLRTZ57SEHAVCNFSM6AAAAABQ2JRTXSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBZGE4TKMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Sorry, may I ask, what is a recipe? |
Beta Was this translation helpful? Give feedback.
All reactions
-
https://www.gnu.org/software/emacs/manual/html_node/eglot/Troubleshooting-Eglot.html
Follow the 7 steps, so I can try to witness your problem in my machine
using your "recipe". I don't have bash-language-server so it'd be ideal if
you could reproduce this with a more common server such as clangd or
rust-analyzer
João
…On Wed, Oct 30, 2024, 14:01 IceAsteroid ***@***.***> wrote:
Sorry, may I ask, what is a recipe?
—
Reply to this email directly, view it on GitHub
<#1459 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC6PQZ4UCOS5UFIK4S7PB3Z6DREPAVCNFSM6AAAAABQ2JRTXSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJQGA4DENI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
All reactions
-
I've tested and confirmed with emacs -Q. It's solely the problem with However, Sorry for my continuous asking. Since it's not a general issue in eglot among different lsp-servers, shall I still post an issue in the emacs bug tracker or just discuss here, or post it to the bash-language-server team? |
Beta Was this translation helpful? Give feedback.
All reactions
-
So you're saying bash-language-server doesn't support the Eglot client's annoucement of |
Beta Was this translation helpful? Give feedback.
All reactions
-
I indeed saw that part
|
Beta Was this translation helpful? Give feedback.
All reactions
-
OK, then answering your question this is a bash-language-server bug. |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Seems so, I'll contant its team there. Thank you for your help! |
Beta Was this translation helpful? Give feedback.
OK, then answering your question this is a bash-language-server bug.