Mercurial > vim
view runtime/indent/dtrace.vim @ 27555:829aec0d0387 v8.2.4304
patch 8.2.4304: Vim9: slice() makes a copy but doesn't change the type
Commit: https://github.com/vim/vim/commit/00eb99528edc9ee1d14241d6914168fc33331ded
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 5 19:23:18 2022 +0000
patch 8.2.4304: Vim9: slice() makes a copy but doesn't change the type
Problem: Vim9: slice() makes a copy but doesn't change the type.
Solution: Change the declared type like copy(). (closes https://github.com/vim/vim/issues/9696)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Feb 2022 20:30:04 +0100 |
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<"