From 1d1b604f617655c74033a6c6c91b15abe2eb2dcf Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 19 May 2024 17:09:33 +0200 Subject: [PATCH] add style for rust --- after/ftplugin/rust.vim | 3 +++ init.vim | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 after/ftplugin/rust.vim diff --git a/after/ftplugin/rust.vim b/after/ftplugin/rust.vim new file mode 100644 index 0000000..c3076f2 --- /dev/null +++ b/after/ftplugin/rust.vim @@ -0,0 +1,3 @@ +set noexpandtab +set shiftwidth=4 +set tabstop=4 diff --git a/init.vim b/init.vim index dbbca23..b3fbbb5 100644 --- a/init.vim +++ b/init.vim @@ -49,3 +49,5 @@ let g:coc_snippet_next = '' "highlight LineNr guifg=#ff57d8 highlight LineNr guifg=#fcc35a +set noexpandtab +