You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I have my nvim setup with clangd and clang-format for coding in c (all of them work perfectly fine on my local machine). Did the follow steps for distant
setup distant using neovim quickstart docs (with both local and the ssh machine having distant)
used :DistantConnect ssh://... to connect to my ssh machine (Debian based) and opened some c files on it
clangd and clang-format doesn't run on the file
Looking at :LspInfo, clangd doesn't seem to find the root directory of the file. I searched around the docs and on github but couldn't find anything related to setting up the lsp servers (I did find the --lsp flag in the spawn command, but the docs didn't really specify how to use it).
Is there a specific thing that I need to do to setup lsp servers?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently I have my nvim setup with
clangdandclang-formatfor coding inc(all of them work perfectly fine on my local machine). Did the follow steps fordistantdistantusing neovim quickstart docs (with both local and the ssh machine havingdistant):DistantConnect ssh://...to connect to my ssh machine (Debian based) and opened some c files on itclangdandclang-formatdoesn't run on the fileLooking at
:LspInfo,clangddoesn't seem to find theroot directoryof the file. I searched around the docs and on github but couldn't find anything related to setting up the lsp servers (I did find the--lspflag in the spawn command, but the docs didn't really specify how to use it).Is there a specific thing that I need to do to setup lsp servers?
Beta Was this translation helpful? Give feedback.
All reactions