Holger Rapp
b13015d47a
Remove sys.path manipulations.
...
They were only needed for < 7.4 Vims which are no longer supported.
2015-07-11 14:18:53 +02:00
Holger Rapp
5f75dde205
Remove snipMate compatibility script.
...
The engine does not use this and it should therefore live in
vim-snippets.
2015-07-11 13:39:39 +02:00
Holger Rapp
9822193e4e
Make scripts actually executable.
2015-07-03 22:03:08 +02:00
Holger Rapp
4f65a76542
Fix testing and test against more scenarios.
...
Before this, we only ever ran against system python preinstalled on
travis (i.e. 2.7 and 3.2). This change makes sure that Vim is always
build and run against the correct python version in the virtual env.
Also adds mercurial (HEAD) Vim as a testing target.
This patch took me forever to get right. At least 2 months and ~200
travis runs of trial and error - there is just too much finicky going on
with the many virtual envs on travis, Vims strange build system that
does not use python-config and LD_LIBRARY_PATH loading. En plus, the
debugging insights one can glance from travis runs are rather limited.
Detailed changes:
- Uses less sudo and only outside of scripts.
- Build correct version of Vim against correct version of Python. This
needs some LD_LIBRARY_PATH magic to make sure that Vim finds the
correct Python libraries at runtime.
- Removes dirty hack that overwrote /usr/bin/vim with the correct Vim
version to run. The test_all.py script now takes the Vim binary as a
parameter.
2015-07-03 21:52:50 +02:00
Holger Rapp
5590f9b7be
Merge pull request #522 from blueyed/use-vim-current-buffer
...
VimBuffer: use vim.current.buffer.number instead of vim.eval
2015-07-01 21:08:16 +02:00
Daniel Hahler
8c257e24e0
VimBuffer: use vim.current.buffer.number instead of vim.eval
...
This should be more performant.
2015-06-27 18:23:46 +02:00
Holger Rapp
c3a0924b77
Require Vim 7.4 in preparation of removal of compatibility features.
2015-06-11 07:53:47 +02:00
Holger Rapp
de70b1ed5d
Exit snippets when entering/exiting command window.
...
Fixes #510 .
2015-06-11 07:22:00 +02:00
Holger Rapp
3806a69874
Fix improper use of augroup in ftdetect.
2015-06-01 21:12:19 +02:00
Ye Ding
2fb8820ff4
A backward compatible solution
2015-05-27 18:33:58 +09:00
Ye Ding
00d50c3ae3
Remove augroup block
...
`augroup END` in filetype detection scripts can enclose 'filetypedetect'
group unexpectedly, makes following ftdetect auto commands be defined in
default autogroup.
2015-05-27 14:21:53 +09:00
Holger Rapp
188e00f7b8
Merge pull request #493 from cwahbong/fold-fix
...
Fix folding for snippet files.
2015-05-11 20:22:47 +02:00
cwahbong
ca19772315
Fix folding for snippet files.
2015-05-04 14:16:09 +08:00
Holger Rapp
ab1cc1afac
Remove documentation for using the same trigger for jump and expand.
2015-05-01 14:36:41 +02:00
Holger Rapp
d6098193ef
Merge pull request #446 from seletskiy/context-snippets
...
New feature: Context-aware snippets
2015-05-01 14:35:19 +02:00
Stanislav Seletskiy
50bb61cdc4
another test for error reporting
2015-05-01 18:07:59 +06:00
Stanislav Seletskiy
463e68a611
fix for correct error reporting
2015-05-01 18:03:21 +06:00
Holger Rapp
9587d9daa4
Merge pull request #486 from seletskiy/enhance-undo
...
Add more precise undo levels (expanding, jumping)
2015-04-30 07:55:58 +02:00
Stanislav Seletskiy
2f355c233f
another little fix in documentation
2015-04-29 22:25:21 +06:00
Stanislav Seletskiy
099d3bcfbc
Add more precise undo levels (expanding, jumping)
...
Breaking undo achieved through re-setting &undolevel:
Setting the value of 'undolevels' also breaks undo. Even when the new
value is equal to the old value.
[:h :undoj]
2015-04-27 19:30:17 +06:00
Stanislav Seletskiy
1b3ecf4a85
priority test, docs & fmt fixes
2015-04-27 15:42:21 +06:00
Stanislav Seletskiy
904fbdecf5
review fixes
2015-04-25 21:38:22 +06:00
Holger Rapp
4ab4c1df4b
Do not use --interface anymore.
2015-04-22 10:01:58 +02:00
Holger Rapp
1bf07737be
Make sure tmux is available before starting any test.
2015-04-22 09:55:31 +02:00
Holger Rapp
82ceb62887
Remove testing with GNU screen
...
The testing on Travis only relies on tmux which also works locally fine.
No need to support two interfaces for the same thing.
2015-04-22 09:31:07 +02:00
Holger Rapp
2c15427b10
Merge pull request #482 from blueyed/check-python-support-for-UltiSnipsUsePythonVersion
...
Verify python support for UltiSnipsUsePythonVersion
2015-04-22 05:58:52 +02:00
Stanislav Seletskiy
87c3a7ba43
fix UltiSnipFunc test
2015-04-19 11:40:00 +06:00
Stanislav Seletskiy
709f8dc93f
minor doc fix and new cursor variable
2015-04-19 11:08:14 +06:00
Stanislav Seletskiy
9861a6e6c3
typo fix in docs
2015-04-19 11:08:14 +06:00
Stanislav Seletskiy
66bc2e8f6e
documentation, pull-requests fixes
2015-04-19 11:08:14 +06:00
Stanislav Seletskiy
0beefd4a19
fix context match on False value
2015-04-19 11:06:03 +06:00
Stanislav Seletskiy
ed8cf49115
fix tests
2015-04-19 11:06:03 +06:00
Stanislav Seletskiy
b3aec07053
proof of concept for context snips
2015-04-19 11:04:57 +06:00
Daniel Hahler
800a54da17
bootstrap: use WarningMsg with python warning message
2015-04-18 22:56:57 +02:00
Daniel Hahler
ac42c83a70
bootstrap: verify that g:UltiSnipsUsePythonVersion is available
...
Without this, UltiSnips will throw a lot of errors in case it's not
available.
This does not look at `g:UltiSnipsNoPythonWarning`, because it is not
auto-detected, but provided by the user's config.
2015-04-18 22:56:09 +02:00
Holger Rapp
00848d7d64
Merge pull request #483 from cwahbong/master
...
Update document for zero tabstop.
2015-04-18 22:45:04 +02:00
Holger Rapp
3ccc14dcac
Try to work around transiently failing commands.
2015-04-18 18:16:08 +02:00
Holger Rapp
aeb2e24204
Disabled unite test - it seems flaky.
2015-04-18 17:33:36 +02:00
Holger Rapp
4b39bf6558
Priority must always be an integer.
2015-04-18 17:32:36 +02:00
Holger Rapp
ee7e15558f
Make install_vim.sh actually executable.
2015-04-18 17:19:00 +02:00
Holger Rapp
99eede1bf6
Started to test py2 and py3 on travis now.
...
I also learned that Vim 7.3 does not seem to be working at all anymore.
Fixes a bug that only happens with python3.
2015-04-18 17:15:05 +02:00
Holger Rapp
01a17a1a41
Merge pull request #480 from KazuakiM/master
...
Delete neocomplete.sources default setting
2015-04-18 13:38:11 +02:00
cwahbong
bf20bc6f66
Update document for zero tabstop.
2015-04-15 20:58:26 +08:00
Holger Rapp
62a96bb05d
Merge pull request #462 from kawing-chiu/fix-#457
...
Fix adjacent tabstop input issue.
2015-04-13 20:37:39 +02:00
kawing.chiu
71a8fdec58
Add contributor to doc.
2015-04-12 22:34:06 +08:00
KazuakiM
42fc6c0318
Merge branch 'improve_neocomplete'
2015-04-12 19:47:24 +09:00
KazuakiM
3ae9b48cf9
Delete default setting in neocomplete/sources/ultisnips.vim
2015-04-12 19:38:33 +09:00
kawing.chiu
f9a22111f0
Fix adjacent tabstop input issue.
...
Previously, adjacent tabstops like $1$2 were not handled properly.
$2 could be jumped to but no text could be added. See issue #457 .
2015-03-13 23:49:45 +08:00
Holger Rapp
1971030b50
Merge pull request #456 from spacewander/master
...
remove duplicate things in vim_test_case.py
2015-03-05 05:54:00 -08:00
spacewander
4d88df461f
remove duplicate things in vim_test_case.py
2015-03-05 18:21:09 +08:00