view runtime/indent/cuda.vim @ 17403:9b6c0ef29c20 v8.1.1700

patch 8.1.1700: listener callback called for the wrong buffer commit https://github.com/vim/vim/commit/250e3112c6dc4c4ceded308d5b94392ec02bc03f Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 15 23:02:14 2019 +0200 patch 8.1.1700: listener callback called for the wrong buffer Problem: Listener callback called for the wrong buffer. Solution: Invoke listeners before calling ml_append_int().
author Bram Moolenaar <Bram@vim.org>
date Mon, 15 Jul 2019 23:15:07 +0200
parents 7bc41231fbc7
children 4027cefc2aab
line wrap: on
line source

" Vim indent file
" Language:	CUDA
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2008 Nov 29

" Only load this indent file when no other was loaded.
if exists("b:did_indent")
   finish
endif
let b:did_indent = 1

" It's just like C indenting
setlocal cindent

let b:undo_indent = "setl cin<"