diff options
-rw-r--r-- | .config/nvim/init.vim | 28 | ||||
-rw-r--r-- | .config/zsh/.zshenv | 1 |
2 files changed, 24 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 diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index cbef2b2..34a1df5 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -14,6 +14,7 @@ export PATH=/usr/local/bin:$PATH export PATH=/home/zt/.gopath:$PATH export GOPATH="/home/zt/.gopath" +export PATH=/home/zt/.local/flutter/bin:$PATH export QT_QPA_PLATFORMTHEME=gtk2 export ZDOTDIR="$HOME/.config/zsh" |