Mercurial > vim
view runtime/ftplugin/yaml.vim @ 28183:2b595cee4c85 v8.2.4617
patch 8.2.4617: no completion for :scriptnames
Commit: https://github.com/vim/vim/commit/454ce6737cadb82886f1fc0eb9e8666cc59ae42b
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Thu Mar 24 11:22:13 2022 +0000
patch 8.2.4617: no completion for :scriptnames
Problem: No completion for :scriptnames.
Solution: Implement :scriptnames completion. (Yegappan Lakshmanan,
closes #10005)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Mar 2022 12:30:08 +0100 |
parents | 847a300aa244 |
children | 9fdacba9c2ec |
line wrap: on
line source
" Vim filetype plugin file " Language: YAML (YAML Ain't Markup Language) " Previous Maintainer: Nikolai Weibull <now@bitwi.se> (inactive) " Last Change: 2020 Mar 02 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< et< fo<" setlocal comments=:# commentstring=#\ %s expandtab setlocal formatoptions-=t formatoptions+=croql if !exists("g:yaml_recommended_style") || g:yaml_recommended_style != 0 let b:undo_ftplugin ..= " sw< sts<" setlocal shiftwidth=2 softtabstop=2 endif let &cpo = s:cpo_save unlet s:cpo_save