annotate runtime/indent/dictconf.vim @ 30533:4f6c0ca7530b
v9.0.0602
patch 9.0.0602: new TypeScript extensions are not recognized
Commit: https://github.com/vim/vim/commit/7fc6c0e4dab4e80b9806a973936af54276468513
Author: rhysd <lin90162@yahoo.co.jp>
Date: Tue Sep 27 11:57:13 2022 +0100
patch 9.0.0602: new TypeScript extensions are not recognized
Problem: New TypeScript extensions are not recognized.
Solution: Recognize .mts and .cts files. (closes https://github.com/vim/vim/issues/11237)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Tue, 27 Sep 2022 13:00:05 +0200 |
parents |
6dd88e45d47d |
children |
|
rev |
line source |
389
|
1 " Vim indent file
|
11062
|
2 " Language: dict(1) configuration file
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
28379
|
4 " Last Change: 2022 Apr 06
|
389
|
5
|
|
6 if exists("b:did_indent")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_indent = 1
|
|
10
|
|
11 setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
|
1201
|
12 setlocal nosmartindent
|
389
|
13 inoremap <buffer> # X#
|
28379
|
14
|
|
15 let b:undo_indent = "setl ai< cinw< indk< si< | silent! iunmap <buffer> #"
|