1
0
Fork 0

Compare commits

...

3 Commits

Author SHA1 Message Date
Ambrose Chua d2a6a4dd7e Change repository
the build failed Details
2018-09-22 11:39:50 +08:00
Ambrose Chua b565136f5d Bump versions 2018-09-22 10:41:10 +08:00
Ambrose Chua 4f861f9137 Improve nvim 2018-09-22 10:34:15 +08:00
3 changed files with 31 additions and 16 deletions

View File

@ -26,14 +26,24 @@ Plug 'tpope/vim-fugitive'
" c, c++
Plug 'zchee/deoplete-clang', { 'for': [ 'c', 'cpp', 'h' ] }
imap <expr> <C-e> emmet#expandAbbrIntelligent("\<C-e>")
let g:user_emmet_leader_key='<C-t>'
" html, css
Plug 'mattn/emmet-vim', { 'for': [ 'html', 'css', 'scss' ] }
Plug 'mattn/emmet-vim', { 'for': [ 'html', 'css', 'scss', 'vue' ] }
let g:user_emmet_leader_key = '<C-t>'
function! s:setup_emmet_shortcut()
imap <expr> <C-e> emmet#expandAbbrIntelligent("\<C-e>")
endfunction
autocmd FileType html,css,scss,vue call s:setup_emmet_shortcut()
" javascript
Plug 'wokalski/autocomplete-flow', { 'for': [ 'js' ] }
Plug 'wokalski/autocomplete-flow', { 'for': [ 'javascript' ] }
Plug 'Quramy/vim-js-pretty-template', { 'for': [ 'javascript' ] }
function! s:setup_prettytemplate()
JsPreTmpl html
endfunction
"autocmd FileType javascript call s:setup_prettytemplate
" Moved to plugin init
Plug 'posva/vim-vue', { 'for': [ 'vue' ] }
" go
function! BuildDeopleteGo(arg)
@ -90,6 +100,13 @@ call plug#end()
" main configuration
" plugin init
" javascript
autocmd FileType javascript JsPreTmpl html
" other init
" theme
set background=dark
if $LIGHT == 'true'
@ -120,7 +137,5 @@ set list
" spellcheck
set spell spelllang=en_gb
" vim: set expandtab ts=2 sw=2:

View File

@ -1,8 +1,8 @@
pipeline:
docker:
image: plugins/docker
registry: registry.labs.0x.no
repo: registry.labs.0x.no/env
registry: registry.makerforce.io
repo: registry.makerforce.io/ambrose/env
dockerfile: .dockerfile
tags:
- latest

View File

@ -1,17 +1,17 @@
#!/bin/sh
export NEOVIM_VERSION=0.2.2
export NEOVIM_VERSION=0.3.1
export GOLANG_VERSION=1.10
export GOLANG_VERSION=1.11
export NODE_VERSION=9.10.1
export YARN_VERSION=1.5.1
export NODE_VERSION=10.11.0
export YARN_VERSION=1.9.4
export KUBECTL_VERSION=1.10.0
export KUBECTL_VERSION=1.11.3
export JDK_NUMBER=11
export JDK_VERSION=4
export JDK_NUMBER=12
export JDK_VERSION=9
export CADDY_VERSION=0.10.12
export CADDY_VERSION=0.11.0