Hi, nice plugin.
Can we add ability to pass end symbol to the command as a fallback option? I'm not very much into Vim Script, but maybe we can add mappings like this:
autocmd FileType javascript,css,YOUR_LANG nmap <silent> <Leader>; <Plug>(cosco-commaOrSemiColon)
autocmd FileType javascript,css,YOUR_LANG nmap <silent> <Leader>;; <Plug>(cosco-commaOrSemiColon(";"))
autocmd FileType javascript,css,YOUR_LANG nmap <silent> <Leader>;, <Plug>(cosco-commaOrSemiColon(","))
So, we can press default mapping, see what the plugin did, if the result is incorrect then press ";" or "," to force the plugin to insert or replace the symbol at the end of line.
Hi, nice plugin.
Can we add ability to pass end symbol to the command as a fallback option? I'm not very much into Vim Script, but maybe we can add mappings like this:
So, we can press default mapping, see what the plugin did, if the result is incorrect then press ";" or "," to force the plugin to insert or replace the symbol at the end of line.