Mercurial > vim
view runtime/ftplugin/json.vim @ 23167:2b2561f8602e v8.2.2129
patch 8.2.2129: MS-Windows: Checking if a file name is absolute is slow
Commit: https://github.com/vim/vim/commit/0ea7421ae6618fe8efe9e3afc8fdcf7a4d89739a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 11 20:10:50 2020 +0100
patch 8.2.2129: MS-Windows: Checking if a file name is absolute is slow
Problem: MS-Windows: Checking if a file name is absolute is slow.
Solution: Do not use mch_FullName(). (closes https://github.com/vim/vim/issues/7033)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Dec 2020 20:15:03 +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=