Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(go): add workaround to get semantic token highlighting #815

Merged
merged 1 commit into from May 24, 2023

Conversation

kcaashish
Copy link
Contributor

Add a work around based on this comment: golang/go#54531 (comment)
Related to #811

@kcaashish kcaashish marked this pull request as draft May 24, 2023 20:43
@kcaashish kcaashish marked this pull request as ready for review May 24, 2023 20:48
@kcaashish kcaashish requested a review from folke May 24, 2023 20:50
@folke folke merged commit 2b5ae7b into LazyVim:main May 24, 2023
@folke
Copy link
Collaborator

folke commented May 24, 2023

thanks!

ofrades pushed a commit to ofrades/LazyVim that referenced this pull request May 30, 2023
joshmedeski pushed a commit to joshmedeski/LazyVim that referenced this pull request Sep 1, 2023
@fredrikaverpil
Copy link
Contributor

fredrikaverpil commented Oct 29, 2023

I was hoping to enable inline SQL (as seen here) but it seems I have to set semanticTokens = false in the gopls settings to make that work. 😞

  {
    "hexdigest/go-enhanced-treesitter.nvim",
    dependencies = {
      "derekstride/tree-sitter-sql",
    },
    build = ":TSInstall go sql",
    ft = "go",
  },

Does anyone have an idea on working around that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants