maan2003 7f4cf794cf neovim: add treesitter and lsp config (#3129) %!s(int64=2) %!d(string=hai) anos
..
ftdetect 52f80c25ab Add syntax highlighting for vim and neovim (#1740) %!s(int64=3) %!d(string=hai) anos
ftplugin c9855c4e01 Update syntax files for vim (#2039) %!s(int64=3) %!d(string=hai) anos
syntax 52f80c25ab Add syntax highlighting for vim and neovim (#1740) %!s(int64=3) %!d(string=hai) anos
README.md 7f4cf794cf neovim: add treesitter and lsp config (#3129) %!s(int64=2) %!d(string=hai) anos

README.md

Carbon Syntax Highlighting for Vim & Neovim

For Carbon developers using Vim, this plugin provides syntax highlighting for .carbon files found throughout explorer/testdata

Repository and contributing

This code is developed as part of the Carbon Language project. Everything is then automatically mirrored into a dedicated repository.

If you would like to contribute, please follow the normal Carbon contributing guide and submit pull requests to the main repository.

Manual Installation

Vim Users

From the current directory utils/vim, please run the following commands to install the syntax file.

mkdir -p ~/.vim/syntax && cp syntax/carbon.vim ~/.vim/syntax/
mkdir -p ~/.vim/ftdetect && cp ftdetect/carbon.vim ~/.vim/ftdetect/