So, I'm having pretty blocker-level issues with NimSuggest, Jester, and Karax. 
Before I proceed to report them, I'd like to ask the comminity if that's really 
how thing roll for everybody now. I'll be happy to know that there's something 
I'm doing wrong and fix it. So far, I'm clueless. Looks like NimSuggest just 
dies trying to process macros ¯\\_(ツ)_/¯

Using Sublime Text with NimLSP and NimSuggest, I'm getting errors for the most 
basic Jester and Karax files. NimSuggest chokes on the most basic macros, 
`routes` and `buildHtml` respectively.

Here's the code sample for Jester: 
    
    
    import jester
    
    
    routes:
      get "/":
        resp "Hello Jester!"
    
    
    Run

Here's the code sample for Karax: 
    
    
    include karax/prelude
    
    
    proc render: VNode =
      buildHtml:
        text "Hello Karax!"
    
    setRenderer render
    
    
    Run

Both files yield the same error in Sublime Text, just on different lines: 
    
    
    ◌ kar.nim:
            5:3         nimsuggest chk  hint            template/generic 
instantiation from here
     
     ◌ jes.nim:
            4:1         nimsuggest chk  hint            template/generic 
instantiation from here
    
    
    
    Run

Then NimLSP server just crashes.

Running vanilla NimSuggest on the same files returns the same errors on the 
first run, but on consecutive runs it gives more and more errors, they go 
deeper and deeper into the packages, then into the stdlib. And then NimSuggest 
crashes.

Reply via email to