diff options
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,5 @@ " General options +set wrap linebreak " break on words not chars set ruler " show the cursor position all the time set showcmd " display incomplete commands set ttimeout " time out for key codes @@ -15,12 +16,12 @@ set fillchars+=vert:\ syntax on " switch syntax highlighting on " Matching and key mappings -:match ErrorMsg '\%>80v.\+' " right-hand drift warning +":match ErrorMsg '\%>80v.\+' " right-hand drift warning " Automatically finish closing tags augroup html_vue_hbs au! - autocmd BufNewFile,BufRead *.html|*.vue|*.hbs :inoremap <lt>/ </<C-x><C-o><Esc>==gi + autocmd BufNewFile,BufRead *.php|*.html|*.vue|*.hbs :inoremap <lt>/ </<C-x><C-o><Esc>==gi autocmd BufNewFile,BufRead *.hbs set filetype=handlebars syntax=html augroup END @@ -53,7 +54,7 @@ Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} call plug#end() " COC.VIM -let g:coc_global_extensions = ['coc-html', 'coc-rust-analyzer', 'coc-vetur', 'coc-prettier'] +let g:coc_global_extensions = ['coc-rust-analyzer', 'coc-vetur', 'coc-prettier'] inoremap <silent><expr> <TAB> \ pumvisible() ? "\<C-n>" : |