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
This commit is contained in:
2023-10-22 18:17:21 -04:00
parent 033f38e500
commit 339be88db2
30 changed files with 488 additions and 813 deletions

View File

@ -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