mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Revert stylus provider
This commit is contained in:
23
ftplugin/fstab.vim
Normal file
23
ftplugin/fstab.vim
Normal file
@@ -0,0 +1,23 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'fstab', 'ftplugin/fstab.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim ftplugin file
|
||||
" Language: fstab file
|
||||
" Maintainer: Radu Dineiu <radu.dineiu@gmail.com>
|
||||
" URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim
|
||||
" Last Change: 2020 Dec 29
|
||||
" Version: 1.0
|
||||
"
|
||||
" Credits:
|
||||
" Subhaditya Nath <sn03.general@gmail.com>
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setlocal commentstring=#%s
|
||||
let b:undo_ftplugin = "setlocal commentstring<"
|
||||
|
||||
" vim: ts=8 ft=vim
|
||||
@@ -4,8 +4,8 @@ endif
|
||||
|
||||
" Vim filetype plugin
|
||||
" Language: Stylus
|
||||
" Maintainer: Ilia Loginov
|
||||
" Credits: Marc Harter, Tim Pope
|
||||
" Maintainer: Marc Harter
|
||||
" Credits: 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.
|
||||
setlocal iskeyword+=#,-
|
||||
|
||||
setlocal omnifunc=stylcomplete#CompleteStyl
|
||||
setl iskeyword+=#,-
|
||||
|
||||
let b:undo_ftplugin = "setl cms< com< "
|
||||
\ " | unlet! b:browsefilter b:match_words | " . s:undo_ftplugin
|
||||
|
||||
Reference in New Issue
Block a user