|
|
il y a 3 ans | |
|---|---|---|
| .. | ||
| ftdetect | 52f80c25ab Add syntax highlighting for vim and neovim (#1740) | il y a 3 ans |
| syntax | 52f80c25ab Add syntax highlighting for vim and neovim (#1740) | il y a 3 ans |
| README.md | 52f80c25ab Add syntax highlighting for vim and neovim (#1740) | il y a 3 ans |
For Carbon devs using Vim or Neovim, this plugin provides syntax highlighting
for .carbon files found throughout explorer/testdata
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/
Instead of copying to the ~/.vim directory, please use the ~/.config/nvim
directory, or your custom Neovim root directory.
mkdir -p ~/.config/nvim/syntax && cp syntax/carbon.vim ~/.config/nvim/syntax/
mkdir -p ~/.config/nvim/ftdetect && cp ftdetect/carbon.vim ~/.config/nvim/ftdetect/