diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-09-29 11:59:56 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-09-29 11:59:56 +0300 |
commit | 59503a30522fad9d87c878f3eb71a8c5e64d8562 (patch) | |
tree | e8ceb7e6f19cff8157432920093149ba28282008 | |
parent | e363f8d9f44ec6c7602c056d512b70b8eebd2d84 (diff) | |
download | vimrice-59503a30522fad9d87c878f3eb71a8c5e64d8562.tar.gz vimrice-59503a30522fad9d87c878f3eb71a8c5e64d8562.zip |
Add textwidth column
Also, set textwidth to 80 for Rust files
-rw-r--r-- | dotfiles/.config/nvim/init.vim | 1 | ||||
-rw-r--r-- | dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 014f862..cfbe8f6 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -41,6 +41,7 @@ call plug#end() set number set relativenumber set scrolloff=5 + set colorcolumn=+1 " Set screen title let &titlestring = "vim - " . expand("%:t") diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim index fdae69a..01d4271 100644 --- a/dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim @@ -1,3 +1,4 @@ setlocal shiftwidth=4 setlocal tabstop=4 setlocal fdm=syntax +setlocal tw=80 |