view runtime/syntax/bash.vim @ 31871:e46f41a1b7c5 v9.0.1268

patch 9.0.1268: .clangd and .stylelintrc files don't get a filetype Commit: https://github.com/vim/vim/commit/9c51798a1f3b79ace5ae0551a8bb122025ac94ed Author: Mark Skelton <mdskelton99@gmail.com> Date: Tue Jan 31 18:57:17 2023 +0000 patch 9.0.1268: .clangd and .stylelintrc files don't get a filetype Problem: .clangd and .stylelintrc files don't get a filetype. Solution: Use yaml for .clangd and json for .stylelintrc files. (Mark Skelton, closes #11916)
author Bram Moolenaar <Bram@vim.org>
date Tue, 31 Jan 2023 20:00:07 +0100
parents 03b854983b14
children 71cbad0921c9
line wrap: on
line source

" Vim syntax file
" Language:	bash
" Maintainer:	Bram
" Last Change:	2019 Sep 27

" quit when a syntax file was already loaded
if exists("b:current_syntax")
  finish
endif

" The actual syntax is in sh.vim and controlled by buffer-local variables.
unlet! b:is_sh
unlet! b:is_kornshell
let b:is_bash = 1

runtime! syntax/sh.vim

let b:current_syntax = 'bash'

" vim: ts=8