Mercurial > vim
view runtime/indent/cpp.vim @ 20253:6f9010b6f7f9 v8.2.0682
patch 8.2.0682: Vim9: parsing function argument type can get stuck
Commit: https://github.com/vim/vim/commit/1c0d44f8efae36c079cb8be395785827aa0b2737
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 2 19:04:58 2020 +0200
patch 8.2.0682: Vim9: parsing function argument type can get stuck
Problem: Vim9: parsing function argument type can get stuck.
Solution: Bail out when not making progress.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 May 2020 19:15:04 +0200 |
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<"