Raimondi / delimitMate

Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
http://www.vim.org/scripts/script.php?script_id=2754
1.98k stars 116 forks source link

Can't disable smartquotes #296

Closed kylechui closed 3 years ago

kylechui commented 3 years ago

Edit: I think I was misunderstanding what smartquotes actually does. Is there a way I can disable quote matching for a specific file type? I see how to completely enable/disable delimitMate for a file type, but not specific features.

I want to disable smartquotes for my LaTeX files, as I already use UltiSnips to correct them to ``". The following line still causes " to get autocompleted to ``"" instead of ``". autocmd FileType tex let b:delimitMate_smart_quotes=''

kylechui commented 3 years ago

Found the command necessary to do this: autocmd FileType tex let b:delimitMate_quotes =''