mirror of
https://github.com/laixintao/asyncomplete-gitcommit.git
synced 2025-12-21 12:14:03 +01:00
commit message keywords
This commit is contained in:
@@ -8,11 +8,7 @@ function! asyncomplete#sources#gitcommit#completor(opt, ctx) abort
|
|||||||
let l:startcol = l:col - l:kwlen
|
let l:startcol = l:col - l:kwlen
|
||||||
|
|
||||||
let l:matches = [
|
let l:matches = [
|
||||||
\ "do", "if", "in", "for", "let", "new", "try", "var", "case", "else", "enum", "eval", "null", "this", "true",
|
\ "bugfix: ", "feature: ", "[WIP] ", "fixup! "
|
||||||
\ "void", "with", "await", "break", "catch", "class", "const", "false", "super", "throw", "while", "yield",
|
|
||||||
\ "delete", "export", "import", "public", "return", "static", "switch", "typeof", "default", "extends",
|
|
||||||
\ "finally", "package", "private", "continue", "debugger", "function", "arguments", "interface", "protected",
|
|
||||||
\ "implements", "instanceof"
|
|
||||||
\ ]
|
\ ]
|
||||||
|
|
||||||
call asyncomplete#complete(a:opt['name'], a:ctx, l:startcol, l:matches)
|
call asyncomplete#complete(a:opt['name'], a:ctx, l:startcol, l:matches)
|
||||||
|
|||||||
Reference in New Issue
Block a user