Mercurial > vim
view runtime/syntax/template.vim @ 17368:6604ecb7a615 v8.1.1683
patch 8.1.1683: dictionary with string keys is longer than needed
commit https://github.com/vim/vim/commit/d5abb4c87727eecb71b0e8ffdda60fc9598272f3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 13 22:46:10 2019 +0200
patch 8.1.1683: dictionary with string keys is longer than needed
Problem: Dictionary with string keys is longer than needed.
Solution: Use *{key: val} for literaly keys.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Jul 2019 23:00:05 +0200 |
parents | 1eaf34420bb3 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim syntax file " Language: Generic template " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2019 May 06 " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") finish endif " Known template types are very similar to HTML, E.g. golang and "Xfire User " Interface Template" " If you know how to recognize a more specific type for *.tmpl suggest a " change to runtime/scripts.vim. runtime! syntax/html.vim