From da29bcbf4d992c739c1bcabd097080e08afe59ea Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 9 Aug 2024 11:11:31 -0400 Subject: [PATCH] neovim: Remove unnecessary comments The built-in help and https://neovim.io/doc/user/options.html can be used instead if an option isn't known at read time. --- home/neovim.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/home/neovim.nix b/home/neovim.nix index 22d73600..baef71a4 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -60,17 +60,17 @@ set number set linebreak set clipboard=unnamedplus - set fileencoding=utf-8 " Ensure that we always save files as utf-8 - set fileencodings=utf-8,sjis " Automatically open shiftjis files with their proper encoding - set spelllang=en_us,cjk " Don't show errors for CJK characters - set noshowmode " Disable the --MODE-- text (enable if not using the status line) + set fileencoding=utf-8 + set fileencodings=utf-8,sjis + set spelllang=en_us,cjk + set noshowmode set mouse=a - set ignorecase " By default use case-insensitive search (combine with smartcase) - set smartcase " Make search case-sensitive when using capital letters - set scrolloff=1 " The minimal number of rows to show when scrolling up/down - set sidescrolloff=5 " The minimal number of columns to show when scrolling left/right - set tabstop=4 " Show a tab character as 4 spaces - set shiftwidth=4 " Make autoindent appear as 4 spaces + set ignorecase + set smartcase + set scrolloff=1 + set sidescrolloff=5 + set tabstop=4 + set shiftwidth=4 set foldmethod=indent set foldlevelstart=99