diff options
| author | jdhao <jdhao@hotmail.com> | 2019-12-29 19:40:49 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2019-12-29 19:40:49 +0800 |
| commit | 56b28dcfbe568f6b5b567bc78067cbcb116b54b1 (patch) | |
| tree | e19270bac2e72be5fb968656ab83afe29c1e6020 | |
| parent | 507e476161132d15e706e5a10e622a494adebe74 (diff) | |
Add toml support
| -rw-r--r-- | after/ftplugin/toml.vim | 4 | ||||
| -rw-r--r-- | plugins.vim | 1 |
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() "}} "} |
