Mercurial > vim
view runtime/indent/lisp.vim @ 22936:00b0275ffe7f v8.2.2015
patch 8.2.2015: Vim9: literal dict #{} is not like any other language
Commit: https://github.com/vim/vim/commit/2bede173a177e227e6224a8713f5b88a38d011af
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 19 18:53:18 2020 +0100
patch 8.2.2015: Vim9: literal dict #{} is not like any other language
Problem: Vim9: literal dict #{} is not like any other language.
Solution: Support the JavaScript syntax.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Nov 2020 19:00:06 +0100 |
parents | ba708ee8d69d |
children | 2198955f9e27 |
line wrap: on
line source
" Vim indent file " Language: Lisp " Maintainer: Sergey Khorev <sergey.khorev@gmail.com> " URL: http://sites.google.com/site/khorser/opensource/vim " Last Change: 2012 Jan 10 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal ai nosi let b:undo_indent = "setl ai< si<"