Skip to content

Commit d6a97c1

Browse files
zirholpil
authored andcommitted
add an example for javascript options
1 parent 0817950 commit d6a97c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

UltiSnips/javascript.snippets

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ priority -50
77
# The smart snippets use a global options called
88
# "g:ultisnips_javascript.{option}" which can control the format
99
# of trailing semicolon, space before function paren, etc.
10+
#
11+
# e.g.
12+
# let g:ultisnips_javascript = {
13+
# \ 'keyword-spacing': 'always',
14+
# \ 'semi': 'never',
15+
# \ 'space-before-function-paren': 'always',
16+
# \ }
17+
1018

1119
global !p
1220
from javascript_snippets import (

0 commit comments

Comments
 (0)