view runtime/syntax/bzl.vim @ 30259:48db7f8f1b44 v9.0.0465

patch 9.0.0465: cursor moves when cmdwin is closed when 'splitscroll' is off Commit: https://github.com/vim/vim/commit/e697d488901b6321ddaad68b553f0a434c97d849 Author: mityu <mityu.mail@gmail.com> Date: Wed Sep 14 17:27:36 2022 +0100 patch 9.0.0465: cursor moves when cmdwin is closed when 'splitscroll' is off Problem: Cursor moves when cmdwin is closed when 'splitscroll' is off. Solution: Temporarily set 'splitscroll' when jumping back to the original window. (closes #11128)
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Sep 2022 18:30:03 +0200
parents 30042ddff503
children
line wrap: on
line source

" Vim syntax file
" Language:	Bazel (http://bazel.io)
" Maintainer:	David Barnett (https://github.com/google/vim-ft-bzl)
" Last Change:	2015 Aug 11

if exists('b:current_syntax')
  finish
endif


runtime! syntax/python.vim

let b:current_syntax = 'bzl'

syn region bzlRule start='^\w\+($' end='^)\n*' transparent fold
syn region bzlList start='\[' end='\]' transparent fold