diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 17:14:37 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 17:14:37 +0100 |
commit | 37bc36ac42c00757cf06ea271f8206aec50632a2 (patch) | |
tree | 3c76215c4c23deba62487b11b296db2aa2332061 /ftplugin | |
parent | a81756029291d6e21295687515a3e58499c19b33 (diff) | |
download | vim-polyglot-37bc36ac42c00757cf06ea271f8206aec50632a2.tar.gz vim-polyglot-37bc36ac42c00757cf06ea271f8206aec50632a2.zip |
Change stylus provider, closes #642
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/stylus.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ftplugin/stylus.vim b/ftplugin/stylus.vim index 9d859939..d0b49d36 100644 --- a/ftplugin/stylus.vim +++ b/ftplugin/stylus.vim @@ -4,8 +4,8 @@ endif " Vim filetype plugin " Language: Stylus -" Maintainer: Marc Harter -" Credits: Tim Pope +" Maintainer: Ilia Loginov +" Credits: Marc Harter, Tim Pope " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -47,14 +47,14 @@ if exists("loaded_matchit") let b:match_words = s:match_words endif -setlocal comments= commentstring=//\ %s - setlocal suffixesadd=.styl " Add '-' and '#' to the what makes up a keyword. " This means that 'e' and 'w' work properly now, for properties " and valid variable names. -setl iskeyword+=#,- +setlocal iskeyword+=#,- + +setlocal omnifunc=stylcomplete#CompleteStyl let b:undo_ftplugin = "setl cms< com< " \ " | unlet! b:browsefilter b:match_words | " . s:undo_ftplugin |