view runtime/ftplugin/less.vim @ 11152:c780e3774dac v8.0.0463

patch 8.0.0463: side effects from resetting 'compatible' in defaults.vim commit https://github.com/vim/vim/commit/0f39a82b07b285e0c54162e1038348b2988a715c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 16 14:19:36 2017 +0100 patch 8.0.0463: side effects from resetting 'compatible' in defaults.vim Problem: Resetting 'compatible' in defaults.vim has unexpected side effects. (David Fishburn) Solution: Only reset 'compatible' if it was set.
author Christian Brabandt <cb@256bit.org>
date Thu, 16 Mar 2017 14:30:04 +0100
parents 11d78e58a487
children
line wrap: on
line source

" Vim filetype plugin
" Language:	less
" Maintainer:	Alessandro Vioni <jenoma@gmail.com>
" 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