Download git/usr/share/vim/vim92/indent/cpp.vim from codekingpro/portable-devtools: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/ce35f8eba62cab85d90fec83a8571b2da87e75e2/git/usr/share/vim/vim92/indent/cpp.vim
- Command line
-
hf download hf://datasets/codekingpro/portable-devtools@ce35f8eba62cab85d90fec83a8571b2da87e75e2/git/usr/share/vim/vim92/indent/cpp.vim
-
curl -L -o cpp.vim https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/ce35f8eba62cab85d90fec83a8571b2da87e75e2/git/usr/share/vim/vim92/indent/cpp.vim
395 Bytes
| " Vim indent file | |
| " Language: C++ | |
| " Maintainer: The Vim Project <https://github.com/vim/vim> | |
| " Last Change: 2023 Aug 10 | |
| " Former Maintainer: Bram Moolenaar <Bram@vim.org> | |
| " Only load this indent file when no other was loaded. | |
| if exists("b:did_indent") | |
| finish | |
| endif | |
| let b:did_indent = 1 | |
| " C++ indenting is built-in, thus this is very simple | |
| setlocal cindent | |
| let b:undo_indent = "setl cin<" | |