Mercurial > vim
view runtime/indent/dictdconf.vim @ 20055:686deb5959c2 v8.2.0583
patch 8.2.0583: Vim9: # comment not recognized in :def function
Commit: https://github.com/vim/vim/commit/cb711abf0f71d8c743cf73c76077f52e17732a8c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 16 13:00:29 2020 +0200
patch 8.2.0583: Vim9: # comment not recognized in :def function
Problem: Vim9: # comment not recognized in :def function.
Solution: Recognize and skip # comment.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 16 Apr 2020 13:15:05 +0200 |
parents | 1218c5353e2b |
children | 6dd88e45d47d |
line wrap: on
line source
" Vim indent file " Language: dictd(8) configuration file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-12-20 if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent setlocal nosmartindent inoremap <buffer> # X#