From 9931e0888b2419326ae10ebbfae532261c5c125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:11:56 +0200 Subject: Fix submodules --- vim/bundle/vim-snippets | 1 + .../vim-snippets/UltiSnips/coffee-react.snippets | 80 ---------------------- 2 files changed, 1 insertion(+), 80 deletions(-) create mode 160000 vim/bundle/vim-snippets delete mode 100644 vim/bundle/vim-snippets/UltiSnips/coffee-react.snippets (limited to 'vim/bundle/vim-snippets/UltiSnips/coffee-react.snippets') diff --git a/vim/bundle/vim-snippets b/vim/bundle/vim-snippets new file mode 160000 index 0000000..15d7e5e --- /dev/null +++ b/vim/bundle/vim-snippets @@ -0,0 +1 @@ +Subproject commit 15d7e5ec26ec93adee4051b6359be90a943aa38d diff --git a/vim/bundle/vim-snippets/UltiSnips/coffee-react.snippets b/vim/bundle/vim-snippets/UltiSnips/coffee-react.snippets deleted file mode 100644 index 4cdb40f..0000000 --- a/vim/bundle/vim-snippets/UltiSnips/coffee-react.snippets +++ /dev/null @@ -1,80 +0,0 @@ -# -# CoffeeScript versions -- adapted from coffee-jasmine -# for some ReactJS matchers. -# -priority -50 - -extends coffee - -priority -49 - -snippet createClass "React define Class" b -${1:classname}Class = React.createClass - displayName: "$1" - render: -> - ${2} -$1 = React.createFactory($1) -endsnippet - -snippet PropTypes "React define propTypes" b -propTypes: -> - ${1:myVar}: React.PropTypes.${2:type}${3:.isRequired} -endsnippet - -snippet propType "React propType (key/value)" b -${1:myVar}: React.PropTypes.${2:type}${3:.isRequired} -${4} -endsnippet - -snippet setState "React setState" b -@setState - ${1:myvar}: ${2:myvalue} - ${3} -endsnippet - -snippet getInitialState "React define getInitialState" b -getInitialState: -> - ${1:myvar}: ${2:myvalue} - ${3} -endsnippet - -snippet getDefaultProps "React define getDefaultProps" b -getDefaultProps: -> - ${1:myvar}: ${2:myvalue} - ${3} -endsnippet - -snippet componentWillMount "React define componentWillMount" b -componentWillMount: -> - ${1} -endsnippet - -snippet componentDidMount "React define componentDidMount" b -componentDidMount: -> - ${1} -endsnippet - -snippet componentWillReceiveProps "React define componentWillReceiveProps" b -componentWillReceiveProps: (nextProps) -> - ${1} -endsnippet - -snippet shouldComponentUpdate "React define shouldComponentUpdate" b -shouldComponentUpdate: (nextProps, nextState) -> - ${1} -endsnippet - -snippet componentWillUpdate "React define componentWillUpdate" b -componentWillUpdate: (nextProps, nextState) -> - ${1} -endsnippet - -snippet componentDidUpdate "React define componentDidUpdate" b -componentDidUpdate: (prevProps, prevState) -> - ${1} -endsnippet - -snippet componentWillUnmount "React define componentWillUnmount" b -componentWillUnmount: -> - ${1} -endsnippet -- cgit v1.2.3