Change stylus provider, closes #642

This commit is contained in:
Adam Stankiewicz
2021-01-01 17:14:37 +01:00
parent a817560292
commit 37bc36ac42
6 changed files with 1440 additions and 397 deletions

View File

@@ -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