view runtime/ftplugin/fstab.vim @ 25786:ec62e0764ffa v8.2.3428

patch 8.2.3428: using freed memory when replacing Commit: https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 11 21:14:20 2021 +0200 patch 8.2.3428: using freed memory when replacing Problem: Using freed memory when replacing. (Dhiraj Mishra) Solution: Get the line pointer after calling ins_copychar().
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 Sep 2021 21:15:03 +0200
parents e2e2cc5d0856
children 7c7432a53a6c
line wrap: on
line source

" Vim ftplugin file
" Language: fstab file
" Maintainer: Radu Dineiu <radu.dineiu@gmail.com>
" URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim
" Last Change: 2021 Jan 02
" Version: 1.0
"
" Credits:
"   Subhaditya Nath <sn03.general@gmail.com>

if exists("b:did_ftplugin")
	finish
endif
let b:did_ftplugin = 1

setlocal commentstring=#%s
let b:undo_ftplugin = "setlocal commentstring<"

" vim: ts=8 ft=vim