Mercurial > vim
view runtime/indent/cpp.vim @ 26248:36361f080ffd v8.2.3655
patch 8.2.3655: compiler warning for using size_t for int
Commit: https://github.com/vim/vim/commit/cc9d725bbb515baf172c2be21de12d35a961e4ee
Author: Mike Williams <mikew@globalgraphics.com>
Date: Tue Nov 23 12:35:57 2021 +0000
patch 8.2.3655: compiler warning for using size_t for int
Problem: Compiler warning for using size_t for int.
Solution: Add a type cast. (Mike Williams, closes https://github.com/vim/vim/issues/9199)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 23 Nov 2021 13:45:03 +0100 |
parents | 7bc41231fbc7 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim indent file " Language: C++ " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2008 Nov 29 " 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<"