vim-closetag
vim-closetag copied to clipboard
Auto close (X)HTML tags
` call s:Declare('g:closetag_filetypes', 'html,xhtml,phtml') call s:Declare('g:closetag_xhtml_filetypes', 'xhtml') call s:Declare('g:closetag_filenames', '*.html,*.xhtml,*.phtml,*.js,*.jsx,*.ts,*.tsx') call s:Declare('g:closetag_xhtml_filenames', '*.xhtml,*.js,*.jsx,*.ts,*.tsx') call s:Declare('g:closetag_shortcut', '>') call s:Declare('g:closetag_close_shortcut', '') call s:Declare('g:closetag_emptyTags_caseSensitive', 1) call s:Declare('g:closetag_enable_react_fragment', 1) call s:Declare('g:closetag_regions', { \ 'typescript.tsx':...
I've set up `vim-closetag` for use with tsx regions but it still adds closing tags for [generics](https://www.typescriptlang.org/docs/handbook/generics.html), which is quite annoying. Do I need to create the `tsxRegion` manually or...
Plugin will not work if "set paste" option is enabled in .vimrc
The docs say ``` And now if you press > again, the content will be: | ``` How can I get this same behavior by pressing the \ key (i.e....
Example render method in react class. Symbol `|` is my cursor. ``` render() { return ( | ); } ``` Then I press `>` and this is what happens: ```...
Hey. Can you please implement behaviour on pressing enter like on gif? Thanks 
When https://github.com/Raimondi/delimitMate is also loaded, closing a tag results in `>`
To reproduce: 1. Make sure the plugin is active (`:imap >` should show that `>` has been mapped) 2. Enter visual-block mode (`CTRL-V`), and make a selection 3. Enter "visual...
Do not leave `>` highlighted, especially after executing `:source $MYVIMRC`. This also happens (sometimes) without the latter command (for example after saving the file). This completely fixes the issue, but...