diff options
Diffstat (limited to 'after/autoload')
-rw-r--r-- | after/autoload/styledcomplete.vim | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/after/autoload/styledcomplete.vim b/after/autoload/styledcomplete.vim index 14a5129d..efa992c4 100644 --- a/after/autoload/styledcomplete.vim +++ b/after/autoload/styledcomplete.vim @@ -19,66 +19,3 @@ fun! styledcomplete#CompleteSC(findstart, base) return s:funcref(a:findstart, a:base) endif endfun -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'styled-components') != -1 - finish -endif - -" Vim completion script -" Language: styled-components (js/ts) -" Maintainer: Karl Fleischmann <fleischmann.karl@gmail.com> -" URL: https://github.com/styled-components/vim-styled-components - -fun! styledcomplete#CompleteSC(findstart, base) - if IsStyledDefinition(line('.')) - return csscomplete#CompleteCSS(a:findstart, a:base) - endif - - " Only trigger original omnifunc if it was set in the first place - if exists('b:prevofu') - " create a funcref to call with the previous omnicomplete function - let s:funcref = function(b:prevofu) - return s:funcref(a:findstart, a:base) - endif -endfun -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'styled-components') != -1 - finish -endif - -" Vim completion script -" Language: styled-components (js/ts) -" Maintainer: Karl Fleischmann <fleischmann.karl@gmail.com> -" URL: https://github.com/styled-components/vim-styled-components - -fun! styledcomplete#CompleteSC(findstart, base) - if IsStyledDefinition(line('.')) - return csscomplete#CompleteCSS(a:findstart, a:base) - endif - - " Only trigger original omnifunc if it was set in the first place - if exists('b:prevofu') - " create a funcref to call with the previous omnicomplete function - let s:funcref = function(b:prevofu) - return s:funcref(a:findstart, a:base) - endif -endfun -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'styled-components') != -1 - finish -endif - -" Vim completion script -" Language: styled-components (js/ts) -" Maintainer: Karl Fleischmann <fleischmann.karl@gmail.com> -" URL: https://github.com/styled-components/vim-styled-components - -fun! styledcomplete#CompleteSC(findstart, base) - if IsStyledDefinition(line('.')) - return csscomplete#CompleteCSS(a:findstart, a:base) - endif - - " Only trigger original omnifunc if it was set in the first place - if exists('b:prevofu') - " create a funcref to call with the previous omnicomplete function - let s:funcref = function(b:prevofu) - return s:funcref(a:findstart, a:base) - endif -endfun |