summaryrefslogtreecommitdiffstats
path: root/indent/glsl.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-10-10 17:15:29 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2015-10-10 17:15:29 +0200
commita6b0efd5301406adb44dfb12bfc73cf40f28b55b (patch)
treeff6ef884650dd709860cbcce29b44ec2cd1ffd9a /indent/glsl.vim
parent0de043adbc144510635702dadedc946e3c69f64e (diff)
downloadvim-polyglot-a6b0efd5301406adb44dfb12bfc73cf40f28b55b.tar.gz
vim-polyglot-a6b0efd5301406adb44dfb12bfc73cf40f28b55b.zip
Add glsl and kotlin languages, fixes #72, #71
Diffstat (limited to 'indent/glsl.vim')
-rw-r--r--indent/glsl.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/indent/glsl.vim b/indent/glsl.vim
new file mode 100644
index 00000000..b959da00
--- /dev/null
+++ b/indent/glsl.vim
@@ -0,0 +1,14 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'glsl') == -1
+
+" Language: OpenGL Shading Language
+" Maintainer: Sergey Tikhomirov <sergey@tikhomirov.io>
+
+if exists("b:did_indent")
+ finish
+endif
+
+setlocal autoindent cindent
+
+" vim:set sts=2 sw=2 :
+
+endif