I recently did a clean OS install on my computer. I'm using Parrot OS, and 
tried installing the neovim autocomplete plugin: 
<https://dev.to/moinmoti/nim-on-neovim-24d3>

This had worked on my previous setup. However, now, when I try to install 
nimlsp I keep on getting this error:

nimble install nimlsp

Downloading <https://github.com/PMunch/nimlsp> using git
    

Verifying dependencies for nimlsp@0.3.2
    Info: Dependency on astpatternmatching@any version already satisfied
Verifying dependencies for ast_pattern_matching@1.0.0
    Info: Dependency on jsonschema@Info: Dependency on jsonschema>= 0.2.1 
already satisfied
Verifying dependencies for jsonschema@0.2.1
    Info: Dependency on ast_pattern_matching@any version already satisfied

Verifying dependencies for ast_pattern_matching@1.0.0

    

Installing nimlsp@0.3.2
    Building nimlsp/nimlsp using c backend
/tmp/nimble_8052/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(11, 8) 
template/generic instantiation of `mImport` from here|   
---|---  
/tmp/nimble_8052/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(7, 14) 
Error: cannot open file: /usr/nimsuggest/nimsuggest.nim| Prompt: Build failed 
for 'nimlsp@0.3.2', would you like to try installing 'nimlsp@#head' (latest 
unstable)? [y/N] Answer: y  
  
Downloading <https://github.com/PMunch/nimlsp> using git
    

Verifying dependencies for nimlsp@#head
    Info: Dependency on jsonschema@Info: Dependency on jsonschema>= 0.2.1 
already satisfied
Verifying dependencies for jsonschema@0.2.1
    Info: Dependency on ast_pattern_matching@any version already satisfied

Verifying dependencies for ast_pattern_matching@1.0.0

    

Installing nimlsp@#head
    Building nimlsp/nimlsp using c backend
/tmp/nimble_8052/githubcom_PMunchnimlsp_#head/src/nimlsppkg/suggestlib.nim(11, 
8) template/generic instantiation of `mImport` from here|   
---|---  
/tmp/nimble_8052/githubcom_PMunchnimlsp_#head/src/nimlsppkg/suggestlib.nim(7, 
14) Error: cannot open file: /usr/nimsuggest/nimsuggest.nim| Tip: 19 messages 
have been suppressed, use --verbose to show them.  
  
Error: Build failed for package: nimlsp
    ... Execution failed with exit code 1 ... Command: /usr/bin/nim c 
--colors:on --noNimblePath -d:release -d:NimblePkgVersion=0.3.2 
--path:/home/localhost/.nimble/pkgs/jsonschema-0.2.1 
--path:/home/localhost/.nimble/pkgs/ast_pattern_matching-1.0.0 --hints:off 
-o:'/tmp/nimble_8052/githubcom_PMunchnimlsp_#head/nimlsp' 
'/tmp/nimble_8052/githubcom_PMunchnimlsp_#head/src/nimlsp.nim

I've tried manually importing nimsuggest.nim, setting paths, etc. None have 
worked to get the autocomplete working. I've tried using the VScodium, but 
autocomplete isn't good and opens many nimsuggest sessions that eventually clog 
up my ram (32 gb). When I set my path directly several issues arose from that, 
libraries that didn't exist, etc. Autocomplete and suggestions were the best 
out there when it came to this, but now I don't get real suggestions (one of 
the many issues with the VScodium plugin). I know this could be related to my 
config, so if anyone else has succesfully been able to get this working, I 
would greatly appreciate if you could guide me in the right direction.

Happy holidays to those celebrating.

Reply via email to