forked from tree-sitter-grammars/tree-sitter-vim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.vim
More file actions
111 lines (96 loc) · 3.75 KB
/
commands.vim
File metadata and controls
111 lines (96 loc) · 3.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
command
" <- @keyword
com
" <- @keyword
command UserCommand
" <- @keyword
" ^ @function.macro
command -complete=buffer UserCommand echo "toto"
" <- @keyword
" ^ @property
" ^ @constant
" ^ @function.macro
" ^^^^^^^^^^ @string
command -complete=arglist UserCommand echo
" <- @keyword
" ^ @property
" ^ @constant
" ^ @function.macro
" ^ @string
command -addr=lines -addr=arguments -addr=buffers -addr=loaded_buffers UserCommand echo
" <- @keyword
" ^ @property
" ^ @constant
" ^ @property
" ^ @constant
" ^ @property
" ^ @constant
" ^ @property
" ^ @constant
" ^ @function.macro
" ^ @string
"
command -addr=windows -addr=tabs -addr=quickfix -addr=other UserCommand echo
" <- @keyword
" ^ @property
" ^ @constant
" ^ @property
" ^ @constant
" ^ @property
" ^ @constant
" ^ @property
" ^ @constant
" ^ @function.macro
" ^ @string
"
command -range=% UserCommand echo
" <- @keyword
" ^ @property
" ^ @string.regexp
" ^ @function.macro
" ^ @string
command -range=12 UserCommand echo
" <- @keyword
" ^ @property
" ^ @number
" ^ @function.macro
" ^ @string
command -range UserCommand echo
" <- @keyword
" ^ @property
" ^ @function.macro
" ^ @string
command -count UserCommand echo
" <- @keyword
" ^ @property
" ^ @function.macro
" ^ @string
command -count UserCommand echo
" <- @keyword
" ^ @property
" ^ @function.macro
" ^ @string
command -nargs=* -nargs=1 -nargs=? -nargs=+ UserCommand echo
" <- @keyword
" ^ @property
" ^ @string.regexp
" ^ @property
" ^ @number
" ^ @property
" ^ @string.regexp
" ^ @property
" ^ @string.regexp
" ^ @function.macro
" ^ @string
command -buffer -bar -bang -keepscript -register UserCommand echo
" <- @keyword
" ^ @property
" ^ @property
" ^ @property
" ^ @property
" ^ @function.macro
" ^ @string
" command UserCommand call Test()
" command -complete=syntax ToggleSyntax if exists("g:syntax_on") | syntax off | else | syntax enable | endif
" command -nargs=1 -complete=mapping Show echo "this is an error message"
" com -complete=custom,funcName -buffer -addr=tabs -bang ShowFunc execute "echo 'this is another error message'"