aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/nvim/init.vim1
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim1
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