aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Bürgin <676c7473@gmail.com>2015-03-28 22:28:37 +0100
committerJustin M. Keyes <justinkz@gmail.com>2015-04-05 19:24:58 -0400
commitd3bb177f1e1dcbc4104d7bba6f2ac4ebe3ffc9c9 (patch)
treef3a788c3d4f876819b13af525e43955d0952af1b /Makefile
parenta69e464f70f1f26c352b713f70b627ea07232e79 (diff)
downloadrneovim-d3bb177f1e1dcbc4104d7bba6f2ac4ebe3ffc9c9.tar.gz
rneovim-d3bb177f1e1dcbc4104d7bba6f2ac4ebe3ffc9c9.tar.bz2
rneovim-d3bb177f1e1dcbc4104d7bba6f2ac4ebe3ffc9c9.zip
vim-patch:7.4.497 #2295
Problem: With some regexp patterns the NFA engine uses many states and becomes very slow. To the user it looks like Vim freezes. Solution: When the number of states reaches a limit fall back to the old engine. (Christian Brabandt) https://github.com/vim/vim/releases/tag/v7-4-497 Helped-by: David Bürgin <676c7473@gmail.com> Helped-by: Justin M. Keyes <justinkz@gmail.com> Helped-by: Scott Prager <splinterofchaos@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1683c558e8..721474a3ec 100644
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,9 @@ test: functionaltest
unittest: | nvim
+$(BUILD_CMD) -C build unittest
+benchmark: | nvim
+ +$(BUILD_CMD) -C build benchmark
+
clean:
+test -d build && $(BUILD_CMD) -C build clean || true
$(MAKE) -C src/nvim/testdir clean