Mercurial > vim
view runtime/syntax/bsdl.vim @ 31752:3365a601e73b v9.0.1208
patch 9.0.1208: code is indented more than necessary
Commit: https://github.com/vim/vim/commit/a41e221935edab62672a15123af48f4f14ac1c7d
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Jan 16 18:19:05 2023 +0000
patch 9.0.1208: code is indented more than necessary
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11819)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Jan 2023 19:30:04 +0100 |
parents | bceeded72898 |
children |
line wrap: on
line source
" Vim syntax file " Language: Boundary Scan Description Language (BSDL) " Maintainer: Daniel Kho <daniel.kho@logik.haus> " Last Changed: 2020 Mar 19 by Daniel Kho " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif " Read in VHDL syntax files runtime! syntax/vhdl.vim unlet b:current_syntax let b:current_syntax = "bsdl" " vim: ts=8