diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-01-03 13:56:48 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-01-03 13:56:48 -0600 |
commit | 9836bd39591133b7113d9042bc16c516065a69ed (patch) | |
tree | 771f5a7300eebc6d5ffc73d3531fd336652ffd24 | |
parent | 04af28ac357e1035e3463c53389eec375e402205 (diff) |
style(nvim): sort options
-rw-r--r-- | nvim/.config/nvim/lua/tobyvin/options.lua | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/nvim/.config/nvim/lua/tobyvin/options.lua b/nvim/.config/nvim/lua/tobyvin/options.lua index 7f1f0d1..5fae5f0 100644 --- a/nvim/.config/nvim/lua/tobyvin/options.lua +++ b/nvim/.config/nvim/lua/tobyvin/options.lua @@ -1,51 +1,51 @@ vim.g.mapleader = " " -vim.opt.termguicolors = true +vim.opt.autoindent = true vim.opt.background = "dark" -vim.opt.laststatus = 3 -vim.opt.undofile = true -vim.opt.swapfile = false +vim.opt.backspace = { "indent", "start", "eol" } +vim.opt.breakindent = true vim.opt.clipboard = vim.opt.clipboard + "unnamedplus" -vim.opt.shortmess = vim.opt.shortmess + "c" -vim.opt.wrap = false -vim.opt.showmatch = true +vim.opt.colorcolumn = "+0" +vim.opt.completeopt = { "menuone", "noselect", "noinsert" } vim.opt.cursorline = true -vim.opt.number = true -vim.opt.relativenumber = true -vim.opt.incsearch = true +vim.opt.expandtab = true +vim.opt.hidden = true vim.opt.hlsearch = true vim.opt.ignorecase = true -vim.opt.smartcase = true -vim.opt.scrolloff = 10 -vim.opt.sidescrolloff = 2 -vim.opt.backspace = { "indent", "start", "eol" } +vim.opt.inccommand = "split" +vim.opt.incsearch = true +vim.opt.laststatus = 2 +vim.opt.laststatus = 3 +vim.opt.linebreak = true vim.opt.mouse = "a" -vim.opt.updatetime = 500 -vim.opt.timeoutlen = 1000 -vim.opt.textwidth = 100 -vim.opt.tabstop = 4 -vim.opt.softtabstop = 0 +vim.opt.number = true +vim.opt.relativenumber = true +vim.opt.scrolloff = 10 +vim.opt.shell = "zsh" +vim.opt.shiftround = true vim.opt.shiftwidth = 0 -vim.opt.smarttab = true -vim.opt.expandtab = true -vim.opt.autoindent = true -vim.opt.breakindent = true +vim.opt.shortmess = vim.opt.shortmess + "c" vim.opt.showbreak = string.rep(" ", 3) -- Make it so that long lines wrap smartly -vim.opt.linebreak = true -vim.opt.shiftround = true -vim.opt.splitbelow = true -vim.opt.splitright = true -vim.opt.laststatus = 2 -vim.opt.colorcolumn = "+0" +vim.opt.showmatch = true +vim.opt.sidescrolloff = 2 vim.opt.signcolumn = "yes:1" -vim.opt.hidden = true -vim.opt.inccommand = "split" -vim.opt.shell = "zsh" -vim.opt.wildignore = vim.opt.wildignore + { "*.o", "*.rej", "*.so" } -vim.opt.completeopt = { "menuone", "noselect", "noinsert" } -vim.opt.spelllang = "en_us" +vim.opt.smartcase = true +vim.opt.smarttab = true +vim.opt.softtabstop = 0 vim.opt.spellfile = vim.fn.stdpath("config") .. "/spell/en.utf-8.add" +vim.opt.spelllang = "en_us" vim.opt.spelloptions = { "camel", "noplainbuffer" } +vim.opt.splitbelow = true +vim.opt.splitright = true +vim.opt.swapfile = false +vim.opt.tabstop = 4 +vim.opt.termguicolors = true +vim.opt.textwidth = 100 +vim.opt.timeoutlen = 1000 +vim.opt.undofile = true +vim.opt.updatetime = 500 +vim.opt.wildignore = vim.opt.wildignore + { "*.o", "*.rej", "*.so" } +vim.opt.wrap = false vim.opt.listchars = { eol = "↵", tab = "»-", |