From d0e7fa747f0e939590838ccca5f191bb89841308 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Mon, 10 Feb 2014 08:54:28 +0100 Subject: [PATCH] Do not set a filetype in scratch buffers. --- pythonx/UltiSnips/_vim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonx/UltiSnips/_vim.py b/pythonx/UltiSnips/_vim.py index af91084..bb6032f 100755 --- a/pythonx/UltiSnips/_vim.py +++ b/pythonx/UltiSnips/_vim.py @@ -101,7 +101,7 @@ def feedkeys(keys, mode='n'): def new_scratch_buffer(text): """Create a new scratch buffer with the text given""" command("botright new") - command("set ft=text") + command("set ft=") command("set buftype=nofile") vim.current.buffer[:] = text.splitlines()