Skip to content
Browse files

-'s as word chars: allow dashes in identifiers

this makes w,b,e,ciw, et cetera more convenient, since identifiers in
LESS (just like in CSS) may have dashes
  • Loading branch information...
1 parent d605010 commit 5ef2e76c8449bc0dd9b89ad806f104a0d4ee1220 @laughinghan laughinghan committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  ftplugin/less.vim
1  ftplugin/less.vim
@@ -12,6 +12,7 @@ let b:did_ftplugin = 1
let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<"
+setlocal iskeyword+=-
setlocal commentstring=//\ %s
setlocal define=^\\s*\\%(@mixin\\\|=\\)
setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','')

0 comments on commit 5ef2e76

Please sign in to comment.
Something went wrong with that request. Please try again.