aboutsummaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
authorMax Christian Pohle2018-03-26 17:25:11 +0200
committerMax Christian Pohle2018-03-26 17:25:11 +0200
commita4383bb89be5ee4650780b87d66dd2724af4ad9f (patch)
treea1162f9327aae3703487d4fbbe266faade2d5955 /ftplugin
parent11503dfcc23e5055d095463be1b35910ae932acf (diff)
downloadvim-a4383bb89be5ee4650780b87d66dd2724af4ad9f.tar.bz2
vim-a4383bb89be5ee4650780b87d66dd2724af4ad9f.zip
Minor changes to improve performance on huge files
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/text.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftplugin/text.vim b/ftplugin/text.vim
new file mode 100644
index 0000000..226de51
--- /dev/null
+++ b/ftplugin/text.vim
@@ -0,0 +1,2 @@
1" highlight double words (its unlikely they are right)
2autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL
..