forked from epilande/vim-react-snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 6436c0e
class & functional components: Improved tabstops
This allows using the <kbd>ctrl</kbd>+<kbd>j</kbd> and <kbd>ctrl</kbd>+<kbd>k</kbd> shortcuts from
UltiSnips to move forward and backward between tabstops. It also adds some cool python interpolation
for the Functional component, which automatically adds the props specified in the function
definition to the `PropTypes` definition at the bottom.1 parent e9b33b3 commit 6436c0e
1 file changed
+19
-11
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 | - | ||
43 | - | ||
42 | + | ||
43 | + | ||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 | - | ||
53 | - | ||
54 | - | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
67 | - | ||
67 | + | ||
68 | 68 |
| |
69 | - | ||
70 | - | ||
71 | - | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 | - | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
76 | 79 |
| |
77 | - | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
78 | 86 |
| |
79 | 87 |
| |
80 | 88 |
| |
|
0 commit comments