Mercurial > vim
view runtime/indent/dtrace.vim @ 21915:2559dc02bd64 v8.2.1507
patch 8.2.1507: using malloc() directly
Commit: https://github.com/vim/vim/commit/51b6eb47b3c41b01a5559b099e65354c8897093e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 22 15:19:18 2020 +0200
patch 8.2.1507: using malloc() directly
Problem: Using malloc() directly.
Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
closes #6768)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 22 Aug 2020 15:30:04 +0200 |
parents | 82b5078be2dd |
children |
line wrap: on
line source
" Vim indent file " Language: D script as described in "Solaris Dynamic Tracing Guide", " http://docs.sun.com/app/docs/doc/817-6223 " Last Change: 2008/03/20 " Version: 1.2 " Maintainer: Nicolas Weber <nicolasweber@gmx.de> " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 " Built-in C indenting works nicely for dtrace. setlocal cindent let b:undo_indent = "setl cin<"