aboutsummaryrefslogtreecommitdiff
path: root/modules/neovim/nvim
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-06-17 17:40:16 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-06-17 17:40:16 -0400
commit408009f8a4886efa3fa8919d2a8f64da41c3c754 (patch)
tree0bc1570c23c342019ec63c202309daa3e522afc0 /modules/neovim/nvim
parent65ed153fcf56e41d081dd6f0d8fd2cd2b5b970e9 (diff)
downloadhome-408009f8a4886efa3fa8919d2a8f64da41c3c754.tar.gz
modules/neovim: sync
Diffstat (limited to 'modules/neovim/nvim')
-rw-r--r--modules/neovim/nvim/lua/config/colorscheme.lua74
-rw-r--r--modules/neovim/nvim/lua/config/settings.lua12
2 files changed, 40 insertions, 46 deletions
diff --git a/modules/neovim/nvim/lua/config/colorscheme.lua b/modules/neovim/nvim/lua/config/colorscheme.lua
index 63a29be..6a426f0 100644
--- a/modules/neovim/nvim/lua/config/colorscheme.lua
+++ b/modules/neovim/nvim/lua/config/colorscheme.lua
@@ -10,46 +10,44 @@ vim.api.nvim_create_autocmd("ColorScheme", { callback = function(args)
hi TabLineFill guibg=bg
hi TabLineSel guibg=bg guifg=fg
hi TabLine guibg=bg
- hi Normal guibg=NONE
- hi NormalNC guibg=NONE
- hi NormalFloat guibg=NONE
- hi StatusLine guibg=NONE guifg=fg
- hi StatusLineNC guibg=NONE
+ hi NormalFloat guibg=bg
+ hi StatusLine guibg=bg guifg=fg
+ hi StatusLineNC guibg=bg
]]
vim.api.nvim_set_hl(0, 'FzfLuaBorder', { fg = colors.base01 })
- -- i dislike syntax highlighting
- -- vim.api.nvim_set_hl(0, 'Comment', {})
- vim.api.nvim_set_hl(0, 'Constant', {})
- -- vim.api.nvim_set_hl(0, 'String', {})
- vim.api.nvim_set_hl(0, 'Character', { link = "String" })
- vim.api.nvim_set_hl(0, 'Number', {})
- vim.api.nvim_set_hl(0, 'Boolean', {})
- vim.api.nvim_set_hl(0, 'Float', {})
- vim.api.nvim_set_hl(0, 'Identifier', {})
- vim.api.nvim_set_hl(0, 'Function', {})
- vim.api.nvim_set_hl(0, 'Statement', {})
- vim.api.nvim_set_hl(0, 'Conditional', {})
- vim.api.nvim_set_hl(0, 'Repeat', {})
- vim.api.nvim_set_hl(0, 'Label', {})
- vim.api.nvim_set_hl(0, 'Operator', {})
- vim.api.nvim_set_hl(0, 'Keyword', {})
- vim.api.nvim_set_hl(0, 'Exception', {})
- vim.api.nvim_set_hl(0, 'PreProc', {})
- vim.api.nvim_set_hl(0, 'Include', {})
- vim.api.nvim_set_hl(0, 'Define', {})
- vim.api.nvim_set_hl(0, 'Macro', {})
- vim.api.nvim_set_hl(0, 'PreCondit', {})
- vim.api.nvim_set_hl(0, 'Type', {})
- vim.api.nvim_set_hl(0, 'StorageClass', {})
- vim.api.nvim_set_hl(0, 'Structure', {})
- vim.api.nvim_set_hl(0, 'Typedef', {})
- vim.api.nvim_set_hl(0, 'Special', {})
- vim.api.nvim_set_hl(0, 'SpecialChar', { link = 'String' })
- vim.api.nvim_set_hl(0, 'Tag', {})
- vim.api.nvim_set_hl(0, 'Delimiter', {})
- -- vim.api.nvim_set_hl(0, 'SpecialComment', {})
- vim.api.nvim_set_hl(0, 'Debug', {})
- -- vim.api.nvim_set_hl(0, 'Underlined', {})
+ -- -- i dislike syntax highlighting
+ -- -- vim.api.nvim_set_hl(0, 'Comment', {})
+ -- vim.api.nvim_set_hl(0, 'Constant', {})
+ -- -- vim.api.nvim_set_hl(0, 'String', {})
+ -- vim.api.nvim_set_hl(0, 'Character', { link = "String" })
+ -- vim.api.nvim_set_hl(0, 'Number', {})
+ -- vim.api.nvim_set_hl(0, 'Boolean', {})
+ -- vim.api.nvim_set_hl(0, 'Float', {})
+ -- vim.api.nvim_set_hl(0, 'Identifier', {})
+ -- vim.api.nvim_set_hl(0, 'Function', {})
+ -- vim.api.nvim_set_hl(0, 'Statement', {})
+ -- vim.api.nvim_set_hl(0, 'Conditional', {})
+ -- vim.api.nvim_set_hl(0, 'Repeat', {})
+ -- vim.api.nvim_set_hl(0, 'Label', {})
+ -- vim.api.nvim_set_hl(0, 'Operator', {})
+ -- vim.api.nvim_set_hl(0, 'Keyword', {})
+ -- vim.api.nvim_set_hl(0, 'Exception', {})
+ -- vim.api.nvim_set_hl(0, 'PreProc', {})
+ -- vim.api.nvim_set_hl(0, 'Include', {})
+ -- vim.api.nvim_set_hl(0, 'Define', {})
+ -- vim.api.nvim_set_hl(0, 'Macro', {})
+ -- vim.api.nvim_set_hl(0, 'PreCondit', {})
+ -- vim.api.nvim_set_hl(0, 'Type', {})
+ -- vim.api.nvim_set_hl(0, 'StorageClass', {})
+ -- vim.api.nvim_set_hl(0, 'Structure', {})
+ -- vim.api.nvim_set_hl(0, 'Typedef', {})
+ -- vim.api.nvim_set_hl(0, 'Special', {})
+ -- vim.api.nvim_set_hl(0, 'SpecialChar', { link = 'String' })
+ -- vim.api.nvim_set_hl(0, 'Tag', {})
+ -- vim.api.nvim_set_hl(0, 'Delimiter', {})
+ -- -- vim.api.nvim_set_hl(0, 'SpecialComment', {})
+ -- vim.api.nvim_set_hl(0, 'Debug', {})
+ -- -- vim.api.nvim_set_hl(0, 'Underlined', {})
end})
diff --git a/modules/neovim/nvim/lua/config/settings.lua b/modules/neovim/nvim/lua/config/settings.lua
index 2c24ee6..75f1c41 100644
--- a/modules/neovim/nvim/lua/config/settings.lua
+++ b/modules/neovim/nvim/lua/config/settings.lua
@@ -1,8 +1,7 @@
vim.g.mapleader = ' '
--- vim.o.number = true
--- vim.o.relativenumber = true
-vim.o.number = false
+vim.o.relativenumber = true
+vim.o.number = true
vim.o.tabstop = 2
vim.o.shiftwidth = 2
vim.o.relativenumber = false
@@ -17,13 +16,10 @@ vim.o.shortmess = "tToOCFIsWcCi"
vim.o.termguicolors = true
vim.opt.fillchars = {eob = " "}
vim.o.smd = false
---vim.opt.laststatus = 3
-vim.opt.laststatus=1
+vim.opt.laststatus=2
vim.opt.cmdheight=0
---%-0{minwid}.{maxwid}{item
-- vim.opt.statusline="%=%f%=%r %p%% « %l, %c %y"
-vim.opt.statusline="%f%=%p%% « %l, %c "
-vim.cmd[[packadd! termdebug]]
+-- vim.opt.statusline="%f%=%p%% « %l, %c "
-- vim.opt.winbar="%!nvim_treesitter#statusline()"
-- vim.cmd[[
-- hi StatusLineNC guibg=none