Re: Announce: ECMAScript interface for Vim

2019-04-01 Thread David Demelier
Le 02/03/2019 à 16:42, Bob Pepin a écrit : Hi, This is to announce the release of an ECMAScript scripting interface for Vim. Why? Because it seemed like the right thing to do. The longer backstory is that I recently returned to using Vim as a programming editor, when I was left without a

Re: vim should reset indent size settings when changing file types

2018-11-29 Thread David Demelier
Le 29/11/2018 à 11:37, Erik Christiansen a écrit : Then, runnin `vim foo.html` will set ts, sts and sw correctly. But then, if I open a new file different from html directly from vim, it keeps those settings. If you use setlocal instead of set, that should do it. Oh, that was so easy. I

vim should reset indent size settings when changing file types

2018-11-29 Thread David Demelier
Hello, I'm not sure if there is way to fix that, but I actually would like to use tabs of size 8 for every file except html. So basically I create a ~/.vim/ftplugin.html file with: set ts=4 set sts=4 set sw=4 set noet Then, runnin `vim foo.html` will set ts, sts and sw correctly. But then,

Re: Is ANSI C support still needed?

2018-04-16 Thread David Demelier
On Sun, 2018-04-15 at 12:43 +0200, Bram Moolenaar wrote: > For a long time Vim code was made to be compiled with ANSI C (also > known > as C89 and ISO C90). This means it can also be compiled on very old > systems. And since it wasn't too much work to support it, that was > the > choice. > C99

markdown 4 backticks fenced code blocks

2017-10-20 Thread David Demelier
Hello, In vim, all my markdown files used 4 backticks () to delimitate fenced code blocks. It does not renders correctly in vim because it looks like vim's markdown syntax only supports 3 backticks (which is valid in most markdown extensions too). I wonder if it's possible to update the