annotate runtime/ftplugin/fennel.vim @ 28897:37e05627acb1 v8.2.4971

patch 8.2.4971: Vim9: interpolated string seen as range Commit: https://github.com/vim/vim/commit/40c141d333292d625907f4de13766cbbc2223911 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 17 13:14:23 2022 +0100 patch 8.2.4971: Vim9: interpolated string seen as range Problem: Vim9: interpolated string seen as range. Solution: Recognize an interpolated string at the start of a command line. (closes #10434)
author Bram Moolenaar <Bram@vim.org>
date Tue, 17 May 2022 14:15:02 +0200
parents 4d76b3e07c07
children 635de73eeb4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28620
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Fennel
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Gregory Anders <greg[NOSPAM]@gpanders.com>
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Update: 2022 Apr 20
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists('b:did_ftplugin')
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let b:did_ftplugin = 1
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 setlocal commentstring=;%s
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 setlocal comments=:;;,:;
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 setlocal formatoptions-=t
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 setlocal suffixesadd=.fnl
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 setlocal lisp
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 setlocal lispwords=accumulate,collect,do,doto,each,eval-compiler,fn,for,icollect,lambda,let,macro,macros,match,match-try,when,while,with-open
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions< suffixesadd< lisp< lispwords<'