view runtime/ftplugin/fennel.vim @ 32659:4e2d73ee7350 v9.0.1661

patch 9.0.1661: BUCK files are not recognized Commit: https://github.com/vim/vim/commit/b46e0f3263acd99c61df06ee3c4d1f6e0b471bc3 Author: Son Luong Ngoc <sluongng@gmail.com> Date: Sat Jun 24 17:11:04 2023 +0100 patch 9.0.1661: BUCK files are not recognized Problem: BUCK files are not recognized. Solution: Recognize BUCK files as "bzl". (Son Luong Ngoc, closes https://github.com/vim/vim/issues/12564)
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Jun 2023 18:15:05 +0200
parents 635de73eeb4c
children 448aef880252
line wrap: on
line source

" Vim filetype plugin file
" Language:     Fennel
" Maintainer:   Gregory Anders <greg[NOSPAM]@gpanders.com>
" Last Update:  2023 Jun 9

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

setlocal commentstring=;%s
setlocal comments=:;;,:;
setlocal formatoptions-=t
setlocal suffixesadd=.fnl
setlocal lisp
setlocal lispwords=accumulate,case,case-try,collect,do,doto,each,eval-compiler,faccumulate,fcollect,fn,for,icollect,lambda,let,macro,macros,match,match-try,when,while,with-open

let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions< suffixesadd< lisp< lispwords<'