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

Syntax Highlighting Not Working with LazyVim Starter Setup #108

Open
Shion1305 opened this issue Jan 13, 2025 · 1 comment
Open

Syntax Highlighting Not Working with LazyVim Starter Setup #108

Shion1305 opened this issue Jan 13, 2025 · 1 comment

Comments

@Shion1305
Copy link

Hi everyone,

I’m new to LazyVim and started with the LazyVim/starter configuration. I expected syntax highlighting to work out of the box, but I can’t seem to get it enabled. Here’s what I’ve tried:

  1. Treesitter installation

    • Ran :TSInstall typescript and :TSInstall go, which report they are already installed.
    • No syntax highlighting appears even though these parsers are installed.
  2. Clearing config and reinstalling

    • Deleted my ~/.config/nvim, ~/.local/share/nvim, and ~/.local/state/nvim directories.
    • Reinstalled LazyVim/starter, but the issue persists.

Steps to Reproduce

  1. Install Neovim (with a recent version).
  2. Clone LazyVim/starter and run it.
  3. Open any Typescript or Go file.
  4. Observe that there is no syntax highlighting.

Expected Behavior
Syntax highlighting should be enabled by default or after installing the required Treesitter parsers.

Actual Behavior
No syntax highlighting is shown.

Additional Details

  • Neovim version: (please specify your exact version, e.g., NVIM v0.9.1)
  • Operating system: (please specify your OS and version)
  • Any error messages?: No specific errors, but highlighting never appears.

I appreciate any help or guidance on how to fix this issue. Let me know if you need more information. Thank you!

@briandipalma
Copy link

I would recommend trying the LazyVim discussions https://github.com/LazyVim/LazyVim - have you installed TypeScript support using extras http://www.lazyvim.org/extras ?

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

No branches or pull requests

2 participants