Mercurial > vim
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 |
rev | line source |
---|---|
28620 | 1 " Vim filetype plugin file |
2 " Language: Fennel | |
3 " Maintainer: Gregory Anders <greg[NOSPAM]@gpanders.com> | |
4 " Last Update: 2022 Apr 20 | |
5 | |
6 if exists('b:did_ftplugin') | |
7 finish | |
8 endif | |
9 let b:did_ftplugin = 1 | |
10 | |
11 setlocal commentstring=;%s | |
12 setlocal comments=:;;,:; | |
13 setlocal formatoptions-=t | |
14 setlocal suffixesadd=.fnl | |
15 setlocal lisp | |
16 setlocal lispwords=accumulate,collect,do,doto,each,eval-compiler,fn,for,icollect,lambda,let,macro,macros,match,match-try,when,while,with-open | |
17 | |
18 let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions< suffixesadd< lisp< lispwords<' |