annotate runtime/macros/less.bat @ 33305:088edf774902 v9.0.1918

patch 9.0.1918: No filetype detection for Authzed filetypes Commit: https://github.com/vim/vim/commit/5790a54166793554d16f6a85d8824632860b8b37 Author: Matt Polzin <mpolzin@workwithopal.com> Date: Wed Sep 20 20:03:52 2023 +0200 patch 9.0.1918: No filetype detection for Authzed filetypes Problem: No filetype detection for Authzed filetypes Solution: Detect the *.zed file extension as authzed filetype closes: #13129 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Matt Polzin <mpolzin@workwithopal.com>
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Sep 2023 20:15:05 +0200
parents 1b584a6f446c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3513
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 @echo off
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 rem batch file to start Vim with less.vim.
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 rem Read stdin if no arguments were given.
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 rem Written by Ken Takata.
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 if "%1"=="" (
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" -
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 ) else (
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 )