Closed casprwang closed 7 years ago
Add 'scoping': 1
here
Sorry I haven't update the README yet. Not all sources support this feature, so I decided to add an option to enalbe it explicitly.
au User CmSetup call cm#register_source({'name' : 'cm-css',
\ 'priority': 9,
\ 'scopes': ['css', 'scss'],
\ 'scoping': 1,
\ 'abbreviation': 'css',
\ 'cm_refresh_patterns':['\w{2,}$',':\s+\w*$'],
\ 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'},
\ })
Nice! I suggest we set the default to 1 in this case, which makes more sense for html editing.
Minified vimrc:
Check Health