Code Monkey home page Code Monkey logo

Comments (4)

axzilla avatar axzilla commented on August 25, 2024 1

Hey, just to follow up on this one, it turns out that my first attempt at a fix didn't quite do the job. I worked out how to reproduce the issue, and believe it's now fixed in main. As soon as I get confirmation from others that it's sorted, I'll push a new version out.

Sorry for the inconvenience.

Is this related to LSP or VSCode? I'm asking because LSP (autocomplete/imports) hasn't been working for me in NeoVim with the latest versions either.

from templ.

a-h avatar a-h commented on August 25, 2024

Hi, there seems to have been a change in gopls which surfaced a lack of nil check that had been in the templ LSP for a long time. That issue was fixed in the latest release.

From the logs you provided, it looks like you're using a version of the templ CLI that's around 10 versions behind the current release, so it's worth you upgrading your CLI version to see if that solves the issue. There have been a lot of improvements and minor bug fixes since January.

from templ.

stekyne avatar stekyne commented on August 25, 2024

Edit: Ok great that helped thank you. I misread what you said at first. Upgrading the gotools and templ has resolved the issue.

from templ.

a-h avatar a-h commented on August 25, 2024

Hey, just to follow up on this one, it turns out that my first attempt at a fix didn't quite do the job. I worked out how to reproduce the issue, and believe it's now fixed in main. As soon as I get confirmation from others that it's sorted, I'll push a new version out.

Sorry for the inconvenience.

from templ.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.