diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-04 21:32:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-04 21:32:54 +0100 |
commit | 6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0 (patch) | |
tree | db66acf9f47e727e0a1dd5eee189bdcc6229e06a /runtime/ftplugin | |
parent | 78aa5ffe314f40d33666f03b833f66b11c3d0f67 (diff) |
Update runtime files
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/man.vim | 2 | ||||
-rw-r--r-- | runtime/ftplugin/nginx.vim | 6 | ||||
-rw-r--r-- | runtime/ftplugin/spec.vim | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index e62637ae0c..fbe6c5a12a 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -2,7 +2,7 @@ " Language: man " Maintainer: Jason Franklin <vim@justemail.net> " Maintainer: SungHyun Nam <goweol@gmail.com> -" Last Change: 2020 Oct 09 +" Last Change: 2021 Sep 26 " To make the ":Man" command available before editing a manual page, source " this script from your startup vimrc file. diff --git a/runtime/ftplugin/nginx.vim b/runtime/ftplugin/nginx.vim new file mode 100644 index 0000000000..e808db1277 --- /dev/null +++ b/runtime/ftplugin/nginx.vim @@ -0,0 +1,6 @@ +" Vim filetype plugin +" Language: nginx.conf +" Maintainer: Chris Aumann <me@chr4.org> +" Last Change: Apr 15, 2017 + +setlocal commentstring=#\ %s diff --git a/runtime/ftplugin/spec.vim b/runtime/ftplugin/spec.vim index ce00021a69..75eebec56a 100644 --- a/runtime/ftplugin/spec.vim +++ b/runtime/ftplugin/spec.vim @@ -18,8 +18,8 @@ if !exists("no_plugin_maps") && !exists("no_spec_maps") endif endif -if !hasmapto("call <SID>SpecChangelog(\"\")<CR>") - noremap <buffer> <unique> <script> <Plug>SpecChangelog :call <SID>SpecChangelog("")<CR> +if !hasmapto("call SpecChangelog(\"\")<CR>") + noremap <buffer> <unique> <script> <Plug>SpecChangelog :call SpecChangelog("")<CR> endif if !exists("*s:GetRelVer") |