Skip to content

Commit 28786d9

Browse files
author
Raphael
committed
feate(plugin):add sql and dart support
1 parent 47964ba commit 28786d9

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

Diff for: cmd/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ func clilangqs() []string {
199199
"less",
200200
"sass",
201201
"stylus",
202+
"sql",
203+
"dart",
202204
}
203205
answers, err := answertemplate(questionname, message, options, pagesize)
204206
if err != nil {

Diff for: lang/dart.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
# Dart support
3+
- { repo: dart-lang/dart-vim-plugin,on_ft:dart }

Diff for: lang/sql.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
# Sql support
3+
- { repo:hardcoreplayers/sql.vim,on_ft: sql }

Diff for: modules/module-lsp.vim

+9
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,12 @@ endif
133133
if dein#tap('vim-vue')
134134
call coc#add_extension('coc-vetur')
135135
endif
136+
137+
"Dart lsp config
138+
if dein#tap('dart-vim-plugin')
139+
call coc#add_extension('coc-flutter')
140+
endif
141+
142+
if dein#tap('sql.vim')
143+
call coc#add_extension('coc-sql')
144+
endif

Diff for: scripts/generator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -u
44

5-
version=v0.1.2
5+
version=v0.1.3
66

77
APP=generator
88

0 commit comments

Comments
 (0)