summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index 8d2fbd7..f9e4baf 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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>" :