Townk / vim-autoclose

This plugin for Vim enable an auto-close chars feature for you. For instance if you type an '(', ``autoclose`` will automatically insert a ')' and put the cursor between than.
http://townk.github.com/vim-autoclose/
503 stars 66 forks source link

Conflict with custom autocommand and syntax highlight group #83

Closed Cbhihe closed 6 years ago

Cbhihe commented 6 years ago

Inserting the following vimscript snippet in my ~/.vimrc conflicts with vim-autoclose:

hi Nonascii ctermbg=Black ctermfg=Red cterm=none
augroup hlNonascii
    autocmd!
    autocmd BufReadPost * if  count(['vim','python'],&filetype) 
                \ | syntax match Nonascii "[^\u0000-\u007F]"  containedin=ALL 
                \ | endif
augroup END 

Any suggestions as to the way this can be resolved ? Cheers.

Cbhihe commented 6 years ago

... and I am dropping this plugin in favor of 'Raimondi/delimitMate', which seems to be actively maintained. Sorry guys!