annotate 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 |
rev |
line source |
2034
|
1 " Vim indent file
|
|
2 " Language: CUDA
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
4 " Last Change: 2008 Nov 29
|
|
5
|
|
6 " Only load this indent file when no other was loaded.
|
|
7 if exists("b:did_indent")
|
|
8 finish
|
|
9 endif
|
|
10 let b:did_indent = 1
|
|
11
|
|
12 " It's just like C indenting
|
|
13 setlocal cindent
|
|
14
|
|
15 let b:undo_indent = "setl cin<"
|