Mercurial > vim
view runtime/ftplugin/json.vim @ 10730:44e9340dc604 v8.0.0255
patch 8.0.0255: setpos() does not use the buffer argument for all marks
commit https://github.com/vim/vim/commit/f13e00b2cf381e13fd327b5387a5bd6f004ac2a3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 28 18:23:54 2017 +0100
patch 8.0.0255: setpos() does not use the buffer argument for all marks
Problem: When calling setpos() with a buffer argument it often is ignored.
(Matthew Malcomson)
Solution: Make the buffer argument work for all marks local to a buffer.
(neovim #5713) Add more tests.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 Jan 2017 18:30:04 +0100 |
parents | 32a77cc160d9 |
children |
line wrap: on
line source
" Vim filetype plugin " Language: JSON " Maintainer: David Barnett <daviebdawg+vim@gmail.com> " Last Change: 2014 Jul 16 if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 let b:undo_ftplugin = 'setlocal formatoptions< comments< commentstring<' setlocal formatoptions-=t " JSON has no comments. setlocal comments= setlocal commentstring=