Replies: 9 comments 1 reply
-
I believe this is already supported. I use this server with neovim via nvim-lspconfig, the configuration necessary for that can be found here. |
Beta Was this translation helpful? Give feedback.
-
And how do you get the ansible lsp built? Couldn't find instructions for that |
Beta Was this translation helpful? Give feedback.
-
As the docs section of the page I linked mentions:
npm install -g @ansible/ansible-language-server If you want to build it from source, checking the scripts in the package.json is a good place to start, I haven't done it though, so you might have to ask someone more involved in the project. |
Beta Was this translation helpful? Give feedback.
-
ah, there, at the bottom of it :). yes, ok. Guess I will leave this open though as I don't find it easy to find this out at all. |
Beta Was this translation helpful? Give feedback.
-
Happy to help, and you’re right, documentation about standalone usage should probably be included somewhere in this repo. Do you want to change the title to something like “Include Standalone Usage Documentation”? |
Beta Was this translation helpful? Give feedback.
-
@mtoohey31 @maddanio PR on document update is welcomed. |
Beta Was this translation helpful? Give feedback.
-
@maddanio could you please share, how to use |
Beta Was this translation helpful? Give feedback.
-
uff, been a while, and I am not sure I am even using it. ansible is not currently in my job tasks. but as @mtoohey31 said above and I seem to have found it should be documented at the bottom of this page: https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/ansiblels.lua |
Beta Was this translation helpful? Give feedback.
-
Hmm, no, sorry, I don't really remember anymore to be honest. |
Beta Was this translation helpful? Give feedback.
-
Problem
I would like to use this lsp in sublime. I think I would really only need to be able to start it standalone, then sublimes lsp package could connect to it. But I cant find out how to just start this server.
Solution
provide a way to start this server "standalone", i.e. not as part of some other extentsion, but on its own, on some ansible project, so sublimes lsp plugin (or that of any other ecditor like emacs/vi etc) can just connect to it to use it
Alternatives
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions