Christian Höltje
2fde49493b
Add compatability for SnipMate-style abbr
...
SnipMate-style snippets set the `abbr` (they call it `name`) via
the snippet line. Note: If both styles are used, then neosnippet
style wins.
Example of SnipMate-style:
snippet if if ... end
if ${1:condition}
${2}
end
Example of neosnippet-style:
snippet if
abbr if ... end
if ${1:condition}
${2}
end
2012-10-28 18:30:51 +09:00
Shougo Matsushita
0a3edfa3a0
- Improved a bit.
2012-10-27 18:06:46 +09:00
Shougo Matsushita
b955d17e5e
- Improved g:neosnippet#disable_select_mode_mappings behavior.
2012-10-27 18:04:53 +09:00
Shougo Matsushita
e9db76f71f
- Fixed for :SnippetEdit.
2012-10-27 12:20:00 +09:00
Vinson Chuong
aa0bc464fa
Simplify folding fix
2012-10-25 22:43:28 -07:00
ujihisa
5b78c5c6f6
bugfix: javascript setTimeout(...); has semicolon in the end which means it's not an expression but a statement.
2012-10-25 18:55:12 -07:00
ujihisa
020c2f126e
bugfix: JavaScript function literal is not only a statement but also an expression; you can pass the function literal as an argument for a function call.
2012-10-25 18:54:21 -07:00
Shougo Matsushita
e24b6baeb9
- Merged.
2012-10-26 10:48:41 +09:00
Shougo
d94e807286
Merge pull request #56 from vinsonchuong/fix-folding
...
Prevent folding of expanded snippet
2012-10-25 18:47:25 -07:00
Shougo Matsushita
2a4db10f9b
- Improved javascript snippet file.
2012-10-26 10:46:05 +09:00
ujihisa
b01091afd7
ditto in lua and vim/vital
2012-10-25 09:12:39 -07:00
ujihisa
43247731b7
javascript snippet bugfix: follows changes in prev_word/options
2012-10-25 09:00:22 -07:00
Vinson Chuong
e25014e008
Prevent folding of expanded snippet
2012-10-25 07:56:08 -07:00
Shougo Matsushita
f46f36837e
- Deleted sandbox execution.
2012-10-25 10:50:25 +09:00
Shougo Matsushita
f87a6b324a
- Improved neosnippet#util#expand().
2012-10-23 11:00:22 +09:00
Shougo Matsushita
f79f3df531
- Use head instead of prev_word.
2012-10-21 21:13:26 +09:00
Shougo Matsushita
fdc6880600
- Fixed print_error().
2012-10-21 21:07:57 +09:00
Shougo Matsushita
e44c9d6562
- Improved options word behavior.
2012-10-21 20:48:02 +09:00
Shougo Matsushita
deaa1469f5
- Merged.
2012-10-21 18:03:39 +09:00
Shougo Matsushita
15e014ca10
- Added options word.
2012-10-21 18:03:10 +09:00
Shougo Matsushita
87b97cd385
- Added options head.
2012-10-21 17:51:07 +09:00
ujihisa
898488cccd
Added vim/vital snip.
2012-10-20 19:48:13 -07:00
ujihisa
5919706b02
Added haskelll snip.
2012-10-20 19:16:15 -07:00
ujihisa
76e8612410
Improved scala snip -- prev_word wasn't used properly
2012-10-20 00:24:26 -07:00
Shougo Matsushita
77b3a1950d
- Fixed markdown snip.
2012-10-19 19:26:30 +09:00
Shougo Matsushita
a0c387de1e
- Improved documentation.
2012-10-19 18:38:52 +09:00
Shougo Matsushita
f0a97fa957
- Fixed make cache behavior.
2012-10-19 18:31:55 +09:00
Shougo Matsushita
355789b029
- Search snippets recursively.
2012-10-19 16:07:15 +09:00
Shougo Matsushita
de6dd9aae2
- Improved documentation.
2012-10-19 11:02:08 +09:00
Shougo Matsushita
5970efcf6b
- Fixed menu pattern.
2012-10-18 16:31:45 +09:00
Shougo Matsushita
ae1c34cdfa
- Improved unite__new_candidate action.
2012-10-18 12:35:04 +09:00
Shougo Matsushita
befa939da6
- Added unite__new_candidate action in snippet source.
2012-10-18 12:28:51 +09:00
Shougo Matsushita
97b0a2a246
- Fixed s:get_sources_list().
2012-10-18 11:57:09 +09:00
Shougo Matsushita
e17f326239
- Improved escape placeholder.
2012-10-17 08:27:52 +09:00
Shougo Matsushita
33de2273e8
- Fixed alias problem.
2012-10-17 08:19:37 +09:00
Shougo Matsushita
25d448c133
Merge branch 'neosnippet' of github.com:Shougo/neocomplcache-snippets-complete into neosnippet
2012-10-17 08:06:05 +09:00
Dave Marshall
b6f4c54716
Allow backslashes in placeholder defaults
...
I managed to put a backslash in a placeholder default, by escaping it like \\, and then changing this pattern.
I've no idea how safe it is, the placeholder in a placeholders still seem to work, but I don't know if it will have messed anything else up.
2012-10-16 16:04:04 +02:00
ujihisa
b5afaa3363
Improved C++ snip
2012-10-15 23:05:24 -07:00
ujihisa
776b5801a3
improved lua snip
2012-10-15 23:03:51 -07:00
rhysd
2f30c8c83e
Added C++ snippets
...
- static_cast ( this is C++11 feature )
- namespace
- new casts
2012-10-16 14:55:50 +09:00
Shougo Matsushita
e260e63b95
Merge branch 'neosnippet' of github.com:Shougo/neocomplcache-snippets-complete into neosnippet
2012-10-15 08:41:27 +09:00
Shougo Matsushita
7219f062fa
- Improved error check.
2012-10-15 08:39:34 +09:00
ujihisa
030e98deda
improving C snip -- abbr has more info
2012-10-13 18:11:05 -07:00
ujihisa
50b9a3a059
Improved vim snip -- adding augroup snippet.
2012-10-07 14:36:32 -07:00
Shougo Matsushita
c301eea419
- Fixed for E749.
2012-10-06 20:18:15 +09:00
Shougo Matsushita
23dd5a099e
Don't create file in editting snippet file
2012-10-06 20:05:36 +09:00
Shougo Matsushita
4e8f2ab813
- Fixed setfiletype.
2012-10-06 19:54:47 +09:00
Shougo Matsushita
cc22621217
- Fixed vim snippets.
2012-10-06 18:00:21 +09:00
Shougo Matsushita
2ce74aabd7
- Improved indentation behavior.
2012-10-06 17:56:10 +09:00
Shougo Matsushita
365357b741
- Fixed substitute marker.
2012-10-06 17:16:56 +09:00