annotate runtime/indent/raml.vim @ 30940:5bc99d85f773 v9.0.0804

patch 9.0.0804: crash when trying to divide a number by -1 Commit: https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 20 14:17:18 2022 +0100 patch 9.0.0804: crash when trying to divide a number by -1 Problem: Crash when trying to divice the largest negative number by -1. Solution: Handle this case specifically.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Oct 2022 15:30:03 +0200
parents 2b30a2b4bde2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14999
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim indent file
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: RAML (RESTful API Modeling Language)
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: mucheng <leisurelicht@gmail.com>
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " License: VIM LICENSE
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Latest Revision: 2018-11-03
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 if exists("b:did_indent")
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 finish
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 endif
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 " Same as yaml indenting.
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 runtime! indent/yaml.vim