Commit Graph

1286 Commits

Author SHA1 Message Date
Holger Rapp
d066fbd095 Small fixes to documentation. 2014-02-16 13:54:31 +01:00
Holger Rapp
b0cec2edbd Removed a unnecessary property. 2014-02-15 23:56:39 +01:00
Holger Rapp
3c0cf360a2 Removed exe bit from all python files. 2014-02-15 23:44:36 +01:00
Holger Rapp
333f689762 Project is now hosted on github.
Removes all references to launchpad from the docs.
2014-02-15 13:16:12 +01:00
Holger Rapp
2e7e61edae Some typos and a todo. 2014-02-15 10:48:46 +01:00
Holger Rapp
991609e461 Do not pass filename to UltiSnips#AddSnippet. 2014-02-15 09:37:40 +01:00
Holger Rapp
2eb82d127b Moving towards Snippet providers.
Removed parsing responsibilities from SnippetManager and instead put
them into the new module providers. Renamed private methods on
SnippetManager that are not meant to be called by external libraries to
start with _. Refactored tests so that expected failures can be tested
and therefore removed the testing flag from SnippetManager.
2014-02-15 00:54:04 +01:00
Holger Rapp
a9d946135f Removed an unused Vim function. 2014-02-14 23:58:44 +01:00
lauritzsh
a2cf4af0ec vim-jinja (https://github.com/mitsuhiko/vim-jinja) uses the filetype htmljinja, kinda like htmldjango 2014-02-14 21:41:15 +01:00
Holger Rapp
635dc63722 Only use on dictionary in exec(). This works around wierd scoping for list comprehensions. 2014-02-14 19:28:29 +01:00
Holger Rapp
f6a82c13e4 Properly skip tests instead of just not defining them. Now the testsuite looks exactly the same on py2 and py3. 2014-02-14 09:55:35 +01:00
Holger Rapp
f4c6046a73 Fixed remaining test for python3 and added a shell code test using umlauts. 2014-02-14 09:35:48 +01:00
Holger Rapp
ccf44a61ff Make iterators python 3 and 2 compatible. 2014-02-14 09:14:20 +01:00
Holger Rapp
b438af2653 Revert to the old way of making scratch buffers. Less flaky. 2014-02-14 08:29:07 +01:00
Holger Rapp
5aca4a6952 Use the correct python version in tests. 2014-02-14 08:22:09 +01:00
Holger Rapp
c137922918 Create UltiSnips.UltiSnips_Manager in all cases.
If a python module tried to load UltiSnips without the autoload file
being run first, UltiSnips_Manager was not defined. This broke YCM and
maybe others too. This fixes
https://github.com/Valloric/YouCompleteMe/issues/820.
2014-02-13 21:24:58 +01:00
Holger Rapp
808cb08540 Fixed a bug in displaying error messages. 2014-02-13 21:24:16 +01:00
Holger Rapp
ad6e8ed21e childs -> children. 2014-02-12 22:22:55 +01:00
Holger Rapp
82ca377aaf Moved the core of the plugin into autoload. This will not really impact loading times because UltiSnips is loaded on the first CursorMovedI command anyways, but it might fix some issues with --noplugin. 2014-02-11 07:56:56 +01:00
Holger Rapp
d0c4f31c1f Improved a comment. 2014-02-10 22:07:40 +01:00
Holger Rapp
7c9d0c0c71 Refactored retaining of unnamed register to be done in VimState. 2014-02-10 21:27:51 +01:00
Holger Rapp
888ce5dac5 Fix a bug in retaining the unnamed register. 2014-02-10 21:06:04 +01:00
Holger Rapp
da1ff4087b Only load snippet files when you need to. 2014-02-10 09:02:31 +01:00
Holger Rapp
f8a07ae8e3 Do not set a filetype in scratch buffers. 2014-02-10 08:57:05 +01:00
Holger Rapp
d0e7fa747f Do not set a filetype in scratch buffers. 2014-02-10 08:54:28 +01:00
Holger Rapp
2308687d1f Small bug fix. 2014-02-10 08:48:33 +01:00
Holger Rapp
f2a9a5eb8d Refactored how snippet files are parsed. 2014-02-10 08:40:37 +01:00
Holger Rapp
f6b197e18e Small bug fix. 2014-02-08 19:56:14 +01:00
Holger Rapp
72beeb28f4 Small documentation fixes. 2014-02-08 15:53:18 +01:00
Holger Rapp
773869b1e1 All linting done. Project is now lint warning free. 2014-02-08 15:52:06 +01:00
Holger Rapp
873b5b4ad4 More linting. 2014-02-08 14:53:12 +01:00
Holger Rapp
2b72c46935 More refactorings and linting. 2014-02-08 14:41:08 +01:00
Holger Rapp
c67a59f579 More linting and refactorings mainly in _transformation.py. 2014-02-08 14:23:16 +01:00
Holger Rapp
63021206cd More linting. 2014-02-08 12:07:17 +01:00
Holger Rapp
a669654466 More linting done. 2014-02-08 10:51:31 +01:00
Holger Rapp
4005608bab Follow the Vim 7.4 convention where to place python files. 2014-02-07 10:38:44 +01:00
Holger Rapp
c78a54b158 More linting. 2014-02-07 10:20:30 +01:00
Holger Rapp
bd132bc379 More linting warnings and a small bug fix. 2014-02-07 09:50:20 +01:00
Holger Rapp
2377a4405b More linting and some code simplifications. 2014-02-07 09:03:24 +01:00
Holger Rapp
4f7cec61ae More linter warnings down. 2014-02-07 08:50:38 +01:00
Holger Rapp
fefef4e39f More lint warnings gone and simplified some code. 2014-02-06 21:42:07 +01:00
Holger Rapp
dc00dd983d Added a preliminary pylintrc to the project.
and started to fix linting errors.
2014-02-05 23:20:53 +01:00
Holger Rapp
ec8bc5b1b5 util -> indent_util 2014-02-05 21:06:46 +01:00
Holger Rapp
47479ea802 Done with simplifying __init__.py. 2014-02-05 20:58:40 +01:00
Holger Rapp
3d4e408b32 Moved SnippetsFileParser into a file of its own. 2014-02-05 20:47:05 +01:00
Holger Rapp
975aca0c8e Moved SnippetDictionary into a file of its own. 2014-02-05 20:37:07 +01:00
Holger Rapp
03bb556799 Moved VisualContentPreserver into its own file. 2014-02-05 20:31:47 +01:00
Holger Rapp
98a676f8ac Moved some code from __init__.py into a file of its own. 2014-02-05 20:26:33 +01:00
Holger Rapp
a408ba5ce9 Whitespace cleanups. 2014-02-05 20:17:23 +01:00
Holger Rapp
daf778f59c Some minor refactorings. 2014-02-05 20:12:21 +01:00