From 251fd869d0ce17f2ecd9853aeec04dfe1fc487bc Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sun, 22 Aug 2021 00:55:08 +0530 Subject: Added flutter to path --- .config/nvim/init.vim | 28 +++++++++++++++++++++++----- .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. `` will be closed while `` 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 = '>' - -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" -- cgit v1.2.3