view runtime/indent/cuda.vim @ 22240:88927d5f275d v8.2.1669

patch 8.2.1669: Vim9: memory leak when storing a value fails Commit: https://github.com/vim/vim/commit/b0fa5e17c587d9c71596bd10836918af713ffff6 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 12 19:51:42 2020 +0200 patch 8.2.1669: Vim9: memory leak when storing a value fails Problem: Vim9: memory leak when storing a value fails. Solution: Free the value when not storing it.
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Sep 2020 20:00:04 +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<"