Mercurial > vim
view runtime/indent/d.vim @ 19467:f41e46f02c8c v8.2.0291
patch 8.2.0291: Vim9: assigning [] to list<string> doesn't work
Commit: https://github.com/vim/vim/commit/436472f5e0328dc4a635b1c344c04a62d64132ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 20 22:54:43 2020 +0100
patch 8.2.0291: Vim9: assigning [] to list<string> doesn't work
Problem: Vim9: assigning [] to list<string> doesn't work.
Solution: Use void for empty list and dict. (Ken Takata, closes https://github.com/vim/vim/issues/5669)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Feb 2020 23:00:05 +0100 |
parents | 862863033fdd |
children | 9c221ad9634a |
line wrap: on
line source
" Vim indent file for the D programming language (version 0.137). " " Language: D " Maintainer: Jason Mills<jmills@cs.mun.ca> " Last Change: 2005 Nov 22 " Version: 0.1 " " Please email me with bugs, comments, and suggestion. Put vim in the subject " to ensure the email will not be marked has spam. " " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 " D indenting is a lot like the built-in C indenting. setlocal cindent " vim: ts=8 noet