Hello,
i am sorry but i have another question regarding the neovim nim setup... I am playing around to configure nimlsp on neovim for 2 weeks now - and now i try to find someone here, who has an up and running neovim nimlsp lua-config... Is there anybody out there?
For a better understanding i will describe my neovim setup in short here: OS: Linux, Windows neocim-configuration in lua. I use the lazy-package manager and the "lsp-zero" Plugin from VonHeikemen ( https://github.com/VonHeikemen/lsp-zero.nvim ) I followed the setup instructions on this side. The lua-lsp is running and funtional.
The setup uses "mason" und i installed the nimlsp from PMunch ( https://github.com/PMunch/nimlsp ) as described in the lsp-zero docu: Open an "nim-lang" file and do a :LspInstall
nimlsp is installed and after a restart of neovim i can see, that the nimlsp is running and everything seems alrigth (i use the :LspInfo - Command to see the status)
But i get no autocomplete, no suggestions and so on.
Does anybody out there know what i am doing wrong?
Thx for reading
Beckx
Thank you for your response!
I've done it right now as you said:
I have 3 Nim Commands to start (NimDocOf, NimReferences and NimTypeOf). If i start them - every command works!
But what must i do, if i wanna see after 3 characters typing, which posibilities i have to choose from?
For example if i have 3 variables like so:
If i type "thi" i excpet a popup where i can choose one of the three variables...
And wha says :LspInfo that there are zero clients attached to the buffer?
perhaps this is a level to heavy for me :(
What your are looking for is the tab completion, try any nvim plugin to connect the lsp with it
an example of using nim is here: