Files
nicole mazzucaandChandler Carruth a898454807 Fix the nvim-carbon integration (#7822)
As I was starting to try to play around with carbon, I wanted nvim
integration. Unfortunately, a lot of the code in the integration had
bitrotted, but not unbearably so, so I updated it 😄

It works now! Syntax highlighting and the LSP work out of the box with
nvim 0.12 (and should also work on nvim 0.11)

Hopefully all good that I did All The Commits, I come from the school of
"every commit should do one thing"

Closes #7821

---------

Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
2026-09-28 20:20:13 +00:00
..

Neovim plugin for Carbon

Treesitter based syntax highlighting and language server client for Neovim.

This requires neovim >= 0.11.

  1. Run bazel build //toolchain in project root.
  2. Run utils/nvim/setup.sh.
  3. Start nvim in carbon-lang root folder and open a carbon file.
  4. View document symbols. If you have telescope.nvim installed, you can use :Telescope lsp_document_symbols