diff options
| author | jdhao <jdhao@hotmail.com> | 2021-04-13 01:57:37 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-04-13 01:57:37 +0800 |
| commit | 803b95926684546bb55e7354d0620dad8794d8c2 (patch) | |
| tree | 4ee8dd684e0aefe0caff02c7adba85f03a70c291 | |
| parent | acf1af73d118c87288450b72707dd506111ca1ca (diff) | |
update lua filetype settings
| -rw-r--r-- | after/ftplugin/lua.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/after/ftplugin/lua.vim b/after/ftplugin/lua.vim index 62a5174..b611326 100644 --- a/after/ftplugin/lua.vim +++ b/after/ftplugin/lua.vim @@ -1,2 +1,7 @@ " Disable inserting comment leader after hitting o or O set formatoptions-=o + +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 |
