Mercurial > vim
view runtime/ftplugin/lisp.vim @ 24198:c784e176334c v8.2.2640
patch 8.2.2640: screenstring() returns non-existing composing characters
Commit: https://github.com/vim/vim/commit/f1387285e2ebe5cb3688d729fc6fd01a169a76c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 22 17:11:15 2021 +0100
patch 8.2.2640: screenstring() returns non-existing composing characters
Problem: screenstring() returns non-existing composing characters.
Solution: Only use composing characters if there is a base character.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Mar 2021 17:15:04 +0100 |
parents | ef454a7f485d |
children | 4ab4ef0c48b1 |
line wrap: on
line source
" Vim filetype plugin " Language: Lisp " Maintainer: Sergey Khorev <sergey.khorev@gmail.com> " URL: http://sites.google.com/site/khorser/opensource/vim " Original author: Dorai Sitaram <ds26@gte.com> " Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html " Last Change: Oct 23, 2013 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") finish endif " Don't load another plugin for this buffer let b:did_ftplugin = 1 setl comments=:;;;;,:;;;,:;;,:;,sr:#\|,mb:\|,ex:\|# setl define=^\\s*(def\\k* setl formatoptions-=t setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94 setl lisp setl commentstring=;%s let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<"