vamolessa / pepper

simple and opinionated modal code editor for your terminal
https://vamolessa.github.io/pepper/
373 stars 15 forks source link

How do I use lsp? #12

Closed MarkuBu closed 3 years ago

MarkuBu commented 3 years ago

I set up pepper and rust analyzer. If I open a *.rs file pepper tells me that the rust analyzer is started. But how can I use it?

MarkuBu commented 3 years ago

I got it

naveedpash commented 3 years ago

Can you elaborate?

I started pepper with the same config file as the example

I don't get any message that rust-analyzer has been started

When I try to use gd and other lsp related keybindings, I get a message saying lsp server not started

MarkuBu commented 3 years ago

In my case the analyzer was running. I just didn't know how to use it. But currently I don't use Pepper anymore. I use neovim for now

vamolessa commented 3 years ago

Did you setup your lsp server config like: https://github.com/vamolessa/pepper/blob/master/rc/config_recipes.md#run-lsp-server-automatically ? I never tested with gd. Which source files does it work on? When you try that config, could you confirm that you can open the lsp log once you open a source file?