Closed nevenduranec closed 2 years ago
@nevenduranec Ecovim 2.0.0 has been released with new lsp manager. Please uninstall all your LSPs and install by manager, then check if it fixes your problem.
Hello! Thank you very much for this nvim setup!. I am trying to make the leap from vscode and this is super helpful.
I'm having a hard time trying to make prettier work, either on save or with command.
If I try to run the command specified in the readme:
E5108: Error executing lua [string ":lua"]:1: attempt to call field 'format' (a nil value)
stack traceback:
[string ":lua"]:1: in main chunk
I have a .prettierrc.json
in the root of my project. And I have installed prettier as a dev dep.
Is there any extra steps I need to do to make format work?
@lakardion Make sure to use nvim 0.8 or switch keymappings to 0.7 API.
Working now, thanks a lot! I was in 0.7
Closing due to inactivity. @nevenduranec Please check if this happens with the newest version of Ecovim and Neovim. Install the newest LSPs by Mason. If still happens, open a new issue.
If I do![CleanShot 2022-07-25 at 12 18 23](https://user-images.githubusercontent.com/3229382/180754476-c31186c0-a02d-4712-9347-892e95f0fc8e.png)
npx eslint {FILENAME}.vue
I get no errors or warnings but in nvim I getOn refactor or on save if the auto format is enabled nothing is happening. How can I see what config file is used?
My eslint config:
From the
:LspLog
From the
:LspInfo