summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-01-03 14:09:55 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-01-03 14:09:55 +0100
commit09f31c433a136450b9faa33b08fc3281bdea5acc (patch)
tree73a1db640af5c34c55bed51916ea8cf821e7dad2 /ftplugin
parent05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3 (diff)
downloadvim-polyglot-09f31c433a136450b9faa33b08fc3281bdea5acc.tar.gz
vim-polyglot-09f31c433a136450b9faa33b08fc3281bdea5acc.zip
Revert stylus provider
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/fstab.vim23
-rw-r--r--ftplugin/stylus.vim10
2 files changed, 28 insertions, 5 deletions
diff --git a/ftplugin/fstab.vim b/ftplugin/fstab.vim
new file mode 100644
index 00000000..5f0972ca
--- /dev/null
+++ b/ftplugin/fstab.vim
@@ -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 \ No newline at end of file
diff --git a/ftplugin/stylus.vim b/ftplugin/stylus.vim
index e24bea01..ce334497 100644
--- a/ftplugin/stylus.vim
+++ b/ftplugin/stylus.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