diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-03-21 14:35:21 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-03-21 14:35:21 +0530 |
commit | fd98b1d6671858a2a725634c82d6907ec25771ea (patch) | |
tree | 2033a7c2ab14f588d698e86d5a4b5e5f2be2c20c /.config/nvim | |
parent | 4e719d6ca4af5a7d56f37f2ec5ef5e59118b03b4 (diff) |
FINALLY THIS WORKS PROPERLY (Pushing all the dotfiles)
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/init.vim | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..1beb3fa --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,55 @@ +call plug#begin('~/local/share/nvim/plugged') + +" Plug 'vim-airline/vim-airline' +Plug 'itchyny/lightline.vim' +Plug 'alvan/vim-closetag' +Plug 'Yggdroot/indentLine' +Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' } +Plug 'neoclide/coc.nvim', {'branch': 'release'} +" Plug 'dracula/vim', { 'as': 'dracula' } +" Plug 'sts10/vim-pink-moon' + +call plug#end() + +" closetag config +let g:closetag_filenames = '*.html,*.xhtml,*.phtml' +let g:closetag_xhtml_filenames = '*.xhtml,*.jsx' +let g:closetag_filetypes = 'html,xhtml,phtml' +let g:closetag_xhtml_filetypes = 'xhtml,jsx' +let g:closetag_emptyTags_caseSensitive = 1 +let g:closetag_regions = { + \ 'typescript.tsx': 'jsxRegion,tsxRegion', + \ 'javascript.jsx': 'jsxRegion', + \ } +let g:closetag_shortcut = '>' +let g:closetag_close_shortcut = '<leader>>' + +let g:indentLine_color_term = 239 + +" coc config +let g:coc_global_extentions = [ + \ 'coc-snippets', + \ 'coc-pairs', + \ 'coc-eslint', + \ 'coc-prettier', + \ 'coc-go', + \ 'coc-json', + \ 'coc-tsserver', + \ 'coc-css', + \ 'coc-html', + \ ] + +" enabling the theme +" colorscheme dracula + +" line numbers +:set number +:set nu + +" remove vim status because lightline replaces it +set noshowmode + +" lightline config +let g:lightline = { + \ 'colorscheme': 'wombat', + \ } |