Mercurial > vim
comparison runtime/indent/elm.vim @ 25880:9c221ad9634a
Update runtime files
Commit: https://github.com/vim/vim/commit/6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 4 21:32:54 2021 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Oct 2021 22:45:05 +0200 |
parents | 661eb972cb22 |
children |
comparison
equal
deleted
inserted
replaced
25879:14ca7cc78a56 | 25880:9c221ad9634a |
---|---|
2 " Language: Elm | 2 " Language: Elm |
3 " Maintainer: Andreas Scharf <as@99n.de> | 3 " Maintainer: Andreas Scharf <as@99n.de> |
4 " Original Author: Joseph Hager <ajhager@gmail.com> | 4 " Original Author: Joseph Hager <ajhager@gmail.com> |
5 " Copyright: Joseph Hager <ajhager@gmail.com> | 5 " Copyright: Joseph Hager <ajhager@gmail.com> |
6 " License: BSD3 | 6 " License: BSD3 |
7 " Latest Revision: 2020-05-29 | 7 " Latest Revision: 2021-09-29 |
8 | 8 |
9 " Only load this indent file when no other was loaded. | 9 " Only load this indent file when no other was loaded. |
10 if exists('b:did_indent') | 10 if exists('b:did_indent') |
11 finish | 11 finish |
12 endif | 12 endif |
16 setlocal expandtab | 16 setlocal expandtab |
17 setlocal indentexpr=GetElmIndent() | 17 setlocal indentexpr=GetElmIndent() |
18 setlocal indentkeys+=0=else,0=if,0=of,0=import,0=then,0=type,0\|,0},0\],0),=-},0=in | 18 setlocal indentkeys+=0=else,0=if,0=of,0=import,0=then,0=type,0\|,0},0\],0),=-},0=in |
19 setlocal nolisp | 19 setlocal nolisp |
20 setlocal nosmartindent | 20 setlocal nosmartindent |
21 | |
22 let b:undo_indent = "setl et< inde< indk< lisp< si<" | |
21 | 23 |
22 " Only define the function once. | 24 " Only define the function once. |
23 if exists('*GetElmIndent') | 25 if exists('*GetElmIndent') |
24 finish | 26 finish |
25 endif | 27 endif |