From 01729e261340a4462a57bf80f6e591c1371ae996 Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 22 Oct 2023 18:17:21 -0400 Subject: kitchen sink: - add code action previews - change indent blankline style - more luasnip snippets - change default mason stuff - customize neorg more - change notify style - change startpage completely - add line info to statusline - change telescope style - change how todo comments look - make indentation work via treesitter --- lua/core/opts.lua | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'lua/core/opts.lua') diff --git a/lua/core/opts.lua b/lua/core/opts.lua index 62386dc..82d88bd 100644 --- a/lua/core/opts.lua +++ b/lua/core/opts.lua @@ -1,6 +1,6 @@ -- better ui ------------------------------------------------------------------ if pcall(require, "notify") then vim.notify = require("notify") end --- o.colorcolumn = { 80 } +o.colorcolumn = { 80 } -- buffer o.scrolloff = 5 @@ -11,16 +11,13 @@ o.cursorline = true -- statusbar o.laststatus = 3 o.cmdheight = 1 -if o.cmdheight == 0 then - o.showcmdloc = 'statusline' -end o.showmode = false -- stop vim from showing mode (we have a statusbar) +-- tabline +o.showtabline = 2 + -- status column o.signcolumn = 'yes:1' -- show gutter -o.relativenumber = true -o.number = true -o.numberwidth = 2 -- indents + tabs local tabwidth = 2 @@ -38,7 +35,7 @@ vim.cmd('colorscheme mellow') -- mellow vim.cmd('colorscheme mellow+') -- some changes -- better editing ------------------------------------------------------------- -o.clipboard = 'unnamedplus' -- system clipboard (on unix like) +o.clipboard = 'unnamedplus' -- system clipboard -- file saving ---------------------------------------------------------------- o.swapfile = false -- cgit v1.2.1