diff options
| author | ache <ache@ache.one> | 2026-04-19 00:42:38 +0200 |
|---|---|---|
| committer | ache <ache@ache.one> | 2026-04-19 00:42:38 +0200 |
| commit | 5448499d125af93d008f190587eda7e8097c2d39 (patch) | |
| tree | 8f20a09ba22d24795f62d4dfa8f9c26df8b5da19 | |
| parent | update: Alternate to cylce (diff) | |
lint: Config lua lint
| -rw-r--r-- | lua/ache/config/options.lua | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/lua/ache/config/options.lua b/lua/ache/config/options.lua index c2a8d86..58a5074 100644 --- a/lua/ache/config/options.lua +++ b/lua/ache/config/options.lua @@ -1,41 +1,41 @@ vim.cmd("let g:netrw_liststyle = 3") local opt = { - -- Numbering - relativenumber = true, - number = true, + -- Numbering + relativenumber = true, + number = true, - -- tabs & indentation - tabstop = 2, -- a tab is 2 spaces width - shiftwidth = 2, -- 2 spaces to indent - expandtab = true, -- transform tab to space. Use <C-v><Tab> to insert tab. - autoindent = true, -- copy indent from current line when starting new one + -- tabs & indentation + tabstop = 2, -- a tab is 2 spaces width + shiftwidth = 2, -- 2 spaces to indent + expandtab = true, -- transform tab to space. Use <C-v><Tab> to insert tab. + autoindent = true, -- copy indent from current line when starting new one - -- Long line management. - wrap = true, + -- Long line management. + wrap = true, - -- search - ignorecase = true, -- ignore case when typing but ⤵ - smartcase = true, -- mixed case in search imply case-sensitive search + -- search + ignorecase = true, -- ignore case when typing but ⤵ + smartcase = true, -- mixed case in search imply case-sensitive search - cursorline = true, + cursorline = true, - -- turn on termguicolor for colorscheme to work - termguicolors = true, - -- background = "dark", - signcolumn = "yes:1", -- TODO: Try number ! + -- turn on termguicolor for colorscheme to work + termguicolors = true, + -- background = "dark", + signcolumn = "yes:1", -- TODO: Try number ! - -- split behavior - splitright = true, - splitbelow = true, + -- split behavior + splitright = true, + splitbelow = true, - -- Use the system clipboard using external program like xsel - clipboard = "unnamedplus", + -- Use the system clipboard using external program like xsel + clipboard = "unnamedplus", - -- I fucking don't know - backspace = "indent,eol,start", + -- I fucking don't know + backspace = "indent,eol,start", } for k, v in pairs(opt) do - vim.opt[k] = v + vim.opt[k] = v end |