Raimondi/delimitMate — Issue #91: delimitMate and SmartTabs do not work together in C files
Author: knl
Created: 2012-03-08 13:22:48+00:00
State: open

Hi, when I have delimitMate enabled, Smart Tabs plugin does not work. When delimitMate is enabled I have two issues. I will report them separately.

If SmartTabs is also enabled, weird things happen if I press ``. Instead of seeing:

if (test) {
|}

I see:

if (test) {
}|

I'm using the latest dM (0b34aea). This may not be a problem of dM, but I wanted to report it.

The output of `:delimitMateTest` is:

delimitMate Report
==================

* Options: ( ) default, (g) global, (b) buffer

( ) delimitMate_apostrophes = ''
( ) delimitMate_autoclose = 1
( ) delimitMate_balance_matchpairs = 0
( ) delimitMate_excluded_ft = ''
( ) delimitMate_excluded_regions = 'Comment'
(g) delimitMate_expand_cr = 1
(g) delimitMate_expand_space = 1
( ) delimitMate_matchpairs = '(:),{:},[:]'
( ) delimitMate_nesting_quotes = []
( ) delimitMate_quotes = '" '' `'
( ) delimitMate_smart_matchpairs = '^\%(\w\|\!\|£\|\$\|_\|["'']\s*\S\)'
( ) delimitMate_smart_quotes = 1
--------------------

* Mappings:

i ) @delimitMate)
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i } @delimitMate}
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i ] @delimitMate]
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i ( @delimitMate(
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i { @delimitMate{
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i [ @delimitMate[
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i " @delimitMate"
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i ' @delimitMate'
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i ` @delimitMate`
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i *@79_DoSmartDelete()."\"
Last set from ~/work/dotvim/bundles/smarttabs/plugin/ctab.vim
i @delimitMateS-BS
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i @delimitMateDel
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i * =BackwardsSnippet()
Last set from ~/work/dotvim/bundles/snipmate/after/plugin/snipMate.vim
i @delimitMateEsc
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
! *
Last set from ~/.vimrc
! *
Last set from ~/.vimrc
i *
Last set from ~/.vimrc
i *
Last set from ~/.vimrc
i @delimitMateMLeftMouse
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i @delimitMateMRightMouse
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i @delimitMateHome
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i @delimitMateEnd
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i @delimitMatePageUp
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i @delimitMatePageDown
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i @delimitMateS-Down
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i @delimitMateS-Up
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i g @delimitMateJumpMany
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
i *@79_CheckCR()
Last set from ~/work/dotvim/bundles/smarttabs/plugin/ctab.vim
i * =82_SelectCompletion(1)
Last set from ~/work/dotvim/bundles/supertab/plugin/supertab.vim
i @delimitMateSpace
Last set from ~/work/dotvim/bundles/delimitMate/plugin/delimitMate.vim
--------------------

* Showcase:

Open: (|)
Delete: |)
Exit: ()|
Space: ( | )
Delete space: (| )
Car return: (
)|
Delete car return: (
|

Open: {|}
Delete: |}
Exit: {}|
Space: { | }
Delete space: {| }
Car return: {
}|
Delete car return: {
|

Open: [|]
Delete: |]
Exit: []|
Space: [ | ]
Delete space: [| ]
Car return: [
]|
Delete car return: [
|

Open: "|"
Delete: |"
Exit: ""|
Space: " | "
Delete space: "| "
Car return: "
"|
Delete car return: "
|

Open: '|'
Delete: |'
Exit: ''|
Space: ' | '
Delete space: '| '
Car return: '
'|
Delete car return: '
|

Open: `|`
Delete: |`
Exit: ``|
Space: ` | `
Delete space: `| `
Car return: `
`|
Delete car return: `
|