aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--after/ftplugin/toml.vim4
-rw-r--r--plugins.vim1
2 files changed, 5 insertions, 0 deletions
diff --git a/after/ftplugin/toml.vim b/after/ftplugin/toml.vim
new file mode 100644
index 0000000..46e9ccd
--- /dev/null
+++ b/after/ftplugin/toml.vim
@@ -0,0 +1,4 @@
+set tabstop=2 " number of visual spaces per TAB
+set softtabstop=2 " number of spaces in tab when editing
+set shiftwidth=2 " number of spaces to use for autoindent
+set expandtab " expand tab to spaces so that tabs are spaces
diff --git a/plugins.vim b/plugins.vim
index f837e4c..232684e 100644
--- a/plugins.vim
+++ b/plugins.vim
@@ -300,6 +300,7 @@ Plug 'tpope/vim-scriptease'
Plug 'skywind3000/asyncrun.vim'
" Another asynchronous plugin
" Plug 'tpope/vim-dispatch'
+Plug 'cespare/vim-toml'
call plug#end()
"}}
"}