summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugin/less.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/ftplugin/less.mnv')
-rw-r--r--mnv/runtime/ftplugin/less.mnv20
1 files changed, 20 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/less.mnv b/mnv/runtime/ftplugin/less.mnv
new file mode 100644
index 0000000000..9af58b5748
--- /dev/null
+++ b/mnv/runtime/ftplugin/less.mnv
@@ -0,0 +1,20 @@
+" MNV filetype plugin
+" Language: less
+" Maintainer: Alessandro Vioni <jenoma@gmail.com>
+" URL: https://github.com/genoma/mnv-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