Mercurial > vim
view runtime/indent/nginx.vim @ 28887:0e207ddd939d v8.2.4966
patch 8.2.4966: MS-Windows GUI: mouse event test gets extra event
Commit: https://github.com/vim/vim/commit/e5162e76c0a8bd71fbfb0840a8c0014788d8808b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 16 16:41:35 2022 +0100
patch 8.2.4966: MS-Windows GUI: mouse event test gets extra event
Problem: MS-Windows GUI: mouse event test gets extra event.
Solution: Ignore one move event.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 May 2022 17:45:03 +0200 |
parents | 6dd88e45d47d |
children | 7d68a90cbf5c |
line wrap: on
line source
" Vim indent file " Language: nginx.conf " Maintainer: Chris Aumann <me@chr4.org> " Last Change: 2022 Apr 06 if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentexpr= " cindent actually works for nginx' simple file structure setlocal cindent " Just make sure that the comments are not reset as defs would be. setlocal cinkeys-=0# let b:undo_indent = "setl inde< cin< cink<"