diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-08-22 00:55:08 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-08-22 00:55:08 +0530 |
commit | 251fd869d0ce17f2ecd9853aeec04dfe1fc487bc (patch) | |
tree | 273cebc2fa82d0707870e68dfe6170726d287a95 /.config/nvim/init.vim | |
parent | ecea3baba94ae5ad140a3f9774b346f0c39b2e5e (diff) |
Added flutter to path
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r-- | .config/nvim/init.vim | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index cfd5fe8..7337ebc 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -15,31 +15,49 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'} " web dev Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' } Plug 'maxmellon/vim-jsx-pretty' +Plug 'leafgarland/typescript-vim' Plug 'yuezk/vim-js' +" other dev +Plug 'elixir-editors/vim-elixir' + " Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } } -Plug 'leafgarland/typescript-vim' " Plug 'vim-airline/vim-airline' " Plug 'dracula/vim', { 'as': 'dracula' } " Plug 'sts10/vim-pink-moon' +Plug 'alvan/vim-closetag' call plug#end() " closetag config +" filenames like *.xml, *.html, *.xhtml, ... +" These are the file extensions where this plugin is enabled. let g:closetag_filenames = '*.html,*.xhtml,*.phtml' +" filenames like *.xml, *.xhtml, ... +" This will make the list of non-closing tags self-closing in the specified files. let g:closetag_xhtml_filenames = '*.xhtml,*.jsx' +" filetypes like xml, html, xhtml, ... +" These are the file types where this plugin is enabled. let g:closetag_filetypes = 'html,xhtml,phtml' +" filetypes like xml, xhtml, ... +" This will make the list of non-closing tags self-closing in the specified files. let g:closetag_xhtml_filetypes = 'xhtml,jsx' +" integer value [0|1] +" This will make the list of non-closing tags case-sensitive (e.g. `<Link>` will be closed while `<link>` won't.) let g:closetag_emptyTags_caseSensitive = 1 +" dict +" Disables auto-close if not in a "valid" region (based on filetype) let g:closetag_regions = { \ 'typescript.tsx': 'jsxRegion,tsxRegion', \ 'javascript.jsx': 'jsxRegion', + \ 'typescriptreact': 'jsxRegion,tsxRegion', + \ 'javascriptreact': 'jsxRegion', \ } +" Shortcut for closing tags, default is '>' let g:closetag_shortcut = '>' -let g:closetag_close_shortcut = '<leader>>' - -let g:indentLine_color_term = 239 - +" Add > at current position without closing the current tag, default is '' +let g:closetag_close_shortcut = '' +" closetag config end " line numbers set number |