From 56b28dcfbe568f6b5b567bc78067cbcb116b54b1 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 29 Dec 2019 19:40:49 +0800 Subject: [PATCH] Add toml support --- after/ftplugin/toml.vim | 4 ++++ plugins.vim | 1 + 2 files changed, 5 insertions(+) create mode 100644 after/ftplugin/toml.vim 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() "}} "}