summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 098a45c..00b6631 100644
--- a/.vimrc
+++ b/.vimrc
@@ -21,6 +21,7 @@ syntax on " switch syntax highlighting on
augroup html_vue_hbs
au!
autocmd BufNewFile,BufRead *.html|*.vue|*.hbs :inoremap <lt>/ </<C-x><C-o><Esc>==gi
+ autocmd BufNewFile,BufRead *.hbs set filetype=handlebars syntax=html
augroup END
" only do this if autocommands enabled
@@ -52,6 +53,8 @@ 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']
+
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :