view runtime/ftplugin/racc.vim @ 22290:9debc021e99e v8.2.1694

patch 8.2.1694: compiler warning for loss if data Commit: https://github.com/vim/vim/commit/573545a55afb5d42614cdb69f356abb32409270b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 16 15:46:08 2020 +0200 patch 8.2.1694: compiler warning for loss if data Problem: Compiler warning for loss if data. Solution: Add typecast.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Sep 2020 16:00:04 +0200
parents 1218c5353e2b
children
line wrap: on
line source

" Vim filetype plugin file
" Language:             Racc input file
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2008-07-09

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

let s:cpo_save = &cpo
set cpo&vim

let b:undo_ftplugin = "setl com< cms< fo<"

setlocal comments=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save