From 8feef4ff6253afb9dcc61c40082ed4fbb96b685c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 7 Jan 2015 16:57:10 +0100 Subject: Update runtime files. --- runtime/ftplugin/less.vim | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 runtime/ftplugin/less.vim (limited to 'runtime/ftplugin/less.vim') diff --git a/runtime/ftplugin/less.vim b/runtime/ftplugin/less.vim new file mode 100644 index 000000000..637e9d292 --- /dev/null +++ b/runtime/ftplugin/less.vim @@ -0,0 +1,20 @@ +" Vim filetype plugin +" Language: less +" Maintainer: Alessandro Vioni +" URL: https://github.com/genoma/vim-less +" Last Change: 2014 November 24 + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<" + +setlocal formatoptions-=t formatoptions+=croql + +setlocal comments=:// commentstring=//\ %s + +setlocal omnifunc=csscomplete#CompleteCSS +setlocal suffixesadd=.less -- cgit v1.2.1