Skip to content

Commit

Permalink
Merge pull request #45 from suy/comments
Browse files Browse the repository at this point in the history
Fix ftplugin options for comments formatting
  • Loading branch information
dhruvasagar committed Jun 4, 2015
2 parents 4be2766 + 00eef8e commit 55a98f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ftplugin/less.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ let b:did_ftplugin = 1
let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<"

setlocal iskeyword+=-
setlocal commentstring=//\ %s
setlocal commentstring=//%s
setlocal define=^\\s*\\%(@mixin\\\|=\\)
setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','')
setlocal omnifunc=csscomplete#CompleteCSS
setlocal suffixesadd=.less
setlocal comments=s1:/*,mb:*,ex:*/
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,://
setlocal fo=jcroql

let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\='

Expand Down

0 comments on commit 55a98f0

Please sign in to comment.