summaryrefslogtreecommitdiffstats
path: root/ftplugin/typescript.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/typescript.vim')
-rw-r--r--ftplugin/typescript.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/ftplugin/typescript.vim b/ftplugin/typescript.vim
new file mode 100644
index 00000000..3726194a
--- /dev/null
+++ b/ftplugin/typescript.vim
@@ -0,0 +1,8 @@
+compiler typescript
+
+setlocal autoindent
+setlocal cindent
+setlocal smartindent
+setlocal indentexpr&
+
+setlocal commentstring=//\ %s