view runtime/ftplugin/reva.vim @ 34605:6d3a5ef458cd v9.1.0194

patch 9.1.0194: gcc complains about uninitialized var Commit: https://github.com/vim/vim/commit/9eb236f455df75af858a37a3d98f190c977deaf4 Author: Christian Brabandt <cb@256bit.org> Date: Thu Mar 21 20:12:59 2024 +0100 patch 9.1.0194: gcc complains about uninitialized var Problem: gcc complains about uninitialized var (Tony Mechelynck) Solution: initialize to NULL Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 21 Mar 2024 20:15:02 +0100
parents 4d76b3e07c07
children
line wrap: on
line source

" Vim ftplugin file
" Language:	Reva Forth
" Version:	7.1
" Last Change:	2022 Apr 27
" Maintainer:	Ron Aaron <ron@ronware.org>
" URL:		http://ronware.org/reva/
" Filetypes:	*.rf *.frt 
" NOTE: 	Forth allows any non-whitespace in a name, so you need to do:
" 		setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
"
" 		This goes with the syntax/reva.vim file.

" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
 finish
endif

" Don't load another plugin for this buffer
let b:did_ftplugin = 1

setlocal sts=4 sw=4 
setlocal com=s1:/*,mb:*,ex:*/,:\|,:\\
setlocal fo=tcrqol
setlocal matchpairs+=\::;
setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255

let b:undo_ftplugin = "setlocal sts< sw< com< fo< mps< isk<"