Skip to content

Commit

Permalink
feate(plugin):add sql and dart support
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed May 23, 2020
1 parent cc17672 commit d5a8c20
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ func clilangqs() []string {
"less",
"sass",
"stylus",
"sql",
"dart",
}
answers, err := answertemplate(questionname, message, options, pagesize)
if err != nil {
Expand Down
3 changes: 3 additions & 0 deletions lang/dart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

# Dart support
- { repo: dart-lang/dart-vim-plugin,on_ft:dart }
3 changes: 3 additions & 0 deletions lang/sql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

# Sql support
- { repo:hardcoreplayers/sql.vim,on_ft: sql }
9 changes: 9 additions & 0 deletions modules/module-lsp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,12 @@ endif
if dein#tap('vim-vue')
call coc#add_extension('coc-vetur')
endif

"Dart lsp config
if dein#tap('dart-vim-plugin')
call coc#add_extension('coc-flutter')
endif

if dein#tap('sql.vim')
call coc#add_extension('coc-sql')
endif
2 changes: 1 addition & 1 deletion scripts/generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -u

version=v0.1.2
version=v0.1.3

APP=generator

Expand Down

0 comments on commit d5a8c20

Please sign in to comment.