mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-02 22:02:51 +01:00
Rumdl already appears to have _significantly_ fewer bugs than prettier, and a solid LSP for editor integration. The tool is: https://github.com/rvben/rumdl/ I've separated out the change across three commits for easier review. The configuration tries to match the existing formatting, the changes to the all the files are to correct issues found by the new tool. Assisted-by: Antigravity with Gemini --------- Co-authored-by: Richard Smith <richard@metafoo.co.uk>
19 lines
670 B
Markdown
19 lines
670 B
Markdown
<!--
|
|
Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
Exceptions. See /LICENSE for license information.
|
|
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
-->
|
|
|
|
# Neovim plugin for Carbon
|
|
|
|
Treesitter based syntax highlighting and language server client for Neovim.
|
|
|
|
This requires neovim >= 0.9 and
|
|
[nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) to be installed.
|
|
|
|
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`
|