summaryrefslogtreecommitdiff
path: root/test/normal/codepoint-width/tab-width/enabled
diff options
context:
space:
mode:
authorTim Allen <screwtape@froup.com>2018-06-01 20:22:08 +1000
committerTim Allen <screwtape@froup.com>2018-06-20 21:11:58 +1000
commit3d0c19f8fb6ed8ef62edf4ef9b83d8d2c15455b2 (patch)
tree60fb80e43bbdfbfc2eab8659b7dbaf24482584d8 /test/normal/codepoint-width/tab-width/enabled
parent7591924f853eb0a7bd6a6466a2127a2676fe9b87 (diff)
Prevent the :format command from triggering hooks.
The :format command is often called from a BufWritePre hook to format the current buffer, however the :format command itself calls `:write` to store the buffer in a temporary location, potentially causing an infinite recursion. If we disable hooks while running :format, there's no danger of that occurring.
Diffstat (limited to 'test/normal/codepoint-width/tab-width/enabled')
0 files changed, 0 insertions, 0 deletions