From 8b442f6351a19c525d484269dc6502a29cc4b1b8 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 10 Dec 2024 08:54:56 -0600 Subject: [PATCH] neovim: sort options --- home/modules/tui/neovim/options.nix | 48 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/home/modules/tui/neovim/options.nix b/home/modules/tui/neovim/options.nix index 325e1f3..af661db 100644 --- a/home/modules/tui/neovim/options.nix +++ b/home/modules/tui/neovim/options.nix @@ -8,38 +8,38 @@ }; opts = { - updatetime = 100; # Faster completion - relativenumber = true; # Relative line numbers - number = true; # Display absolute line number of current line + autoindent = true; # do clever autoindenting + colorcolumn = "100"; # columns to highlight + cursorcolumn = false; # highlight the screen column of the cursor + cursorline = true; # highlight the screen line of the cursor + expandtab = true; # expand to spaces in Insert mode + fileencoding = "utf-8"; # file-content encoding for the current buffer + foldlevel = 99; # folds with a level higher than this number will be closed hidden = true; # Keep closed buffer open in the background + ignorecase = true; # when search query is lowercase match both lower and upper patterns + inccommand = "split"; # search and replace: preview changes in quickfix list + incsearch = true; # incremental search: show match for partly typed search command + laststatus = 3; # when to use a status line for the last window + modeline = true; # tags such as 'vim:ft=sh' + modelines = 5; # check first and last five lines for modelines mouse = "a"; # Enable mouse control mousemodel = "extend"; # Mouse right-click extends the current selection + number = true; # Display absolute line number of current line + relativenumber = true; # Relative line numbers + scrolloff = 8; # number of lines to show around the cursor + shiftwidth = 2; # number of spaces used for each step of (auto)indent + signcolumn = "yes"; # whether to show the signcolumn + smartcase = true; # override ignorecase if search pattern containers upper case + spell = false; # highlight spelling mistakes splitbelow = true; # A new window is put below the current one splitright = true; # A new window is put right of the corrent one swapfile = false; # Disable the swap file - modeline = true; # tags such as 'vim:ft=sh' - modelines = 5; # check first and last five lines for modelines - undofile = true; # save and restore undo history - incsearch = true; # incremental search: show match for partly typed search command - inccommand = "split"; # search and replace: preview changes in quickfix list - ignorecase = true; # when search query is lowercase match both lower and upper patterns - smartcase = true; # override ignorecase if search pattern containers upper case - scrolloff = 8; # number of lines to show around the cursor - cursorline = true; # highlight the screen line of the cursor - cursorcolumn = false; # highlight the screen column of the cursor - signcolumn = "yes"; # whether to show the signcolumn - colorcolumn = "100"; # columns to highlight - laststatus = 3; # when to use a status line for the last window - fileencoding = "utf-8"; # file-content encoding for the current buffer - termguicolors = true; # enables 24-bit colors - spell = false; # highlight spelling mistakes - wrap = false; # prevent wrapping text tabstop = 2; # number of spaces a in the text stands for - shiftwidth = 2; # number of spaces used for each step of (auto)indent - expandtab = true; # expand to spaces in Insert mode - autoindent = true; # do clever autoindenting + termguicolors = true; # enables 24-bit colors textwidth = 0; # maximum width of text that is being inserted, a longer line will be broken after whitespace to this width - foldlevel = 99; # folds with a level higher than this number will be closed + undofile = true; # save and restore undo history + updatetime = 100; # Faster completion + wrap = false; # prevent wrapping text }; }; }