1
0
forked from aniani/vim

patch 9.1.0386: filetype: stylus files not recognized

Problem:  filetype: stylus files not recognized
Solution: Detect '*.styl' and '*.stylus' as stylus filetype,
          include indent, filetype and syntax plugin
          (Philip H)

closes: #14656

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Philip H
2024-05-01 18:42:11 +02:00
committed by Christian Brabandt
parent 94a05d5545
commit 2d919d2744
6 changed files with 242 additions and 0 deletions

View File

@@ -3015,6 +3015,9 @@ au BufNewFile,BufRead .reminders* call s:StarSetf('remind')
" SGML catalog file
au BufNewFile,BufRead sgml.catalog* call s:StarSetf('catalog')
" Stylus
au BufNewFile,BufReadPost *.styl,*.stylus setf stylus
" avoid doc files being recognized a shell files
au BufNewFile,BufRead */doc/{,.}bash[_-]completion{,.d,.sh}{,/*} setf text