annotate runtime/ftplugin/fennel.vim @ 28841:77a00aa3e215 v8.2.4944

patch 8.2.4944: text properties are wrong after "cc" Commit: https://github.com/vim/vim/commit/d0b1a09f44654bb5e29b09de1311845200f17d90 Author: LemonBoy <thatlemon@gmail.com> Date: Thu May 12 18:45:18 2022 +0100 patch 8.2.4944: text properties are wrong after "cc" Problem: Text properties are wrong after "cc". (Axel Forsman) Solution: Pass the deleted byte count to inserted_bytes(). (closes https://github.com/vim/vim/issues/10412, closes #7737, closes #5763)
author Bram Moolenaar <Bram@vim.org>
date Thu, 12 May 2022 20:00: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<'