mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-14 12:18:31 +00:00
This fixes an error that would happen when opening neovim in a non-git-controlled directory, where `root` is `nil` and therefore one cannot `..` it as a string.
Neovim plugin for Carbon
Treesitter based syntax highlighting and language server client for Neovim.
This requires neovim >= 0.11.
- Run
bazel build //toolchainin project root. - Run
utils/nvim/setup.sh. - Start nvim in carbon-lang root folder and open a carbon file.
- View document symbols. If you have telescope.nvim installed, you can use
:Telescope lsp_document_symbols