summaryrefslogtreecommitdiffstats
path: root/lua/core/opts.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-01-22 02:00:25 -0500
committerSquibid <me@zacharyscheiman.com>2023-01-22 02:00:25 -0500
commit74c846a7b6461c2be572c3778d67d5df682a34e9 (patch)
tree1f43a4034ce4622564aa05504df5c8328e289996 /lua/core/opts.lua
parent4ec198e9de4c29378a9307f739770e71282d5d45 (diff)
downloadnvim-74c846a7b6461c2be572c3778d67d5df682a34e9.tar.gz
nvim-74c846a7b6461c2be572c3778d67d5df682a34e9.tar.bz2
nvim-74c846a7b6461c2be572c3778d67d5df682a34e9.zip
moar stuff
Diffstat (limited to '')
-rw-r--r--lua/core/opts.lua20
1 files changed, 16 insertions, 4 deletions
diff --git a/lua/core/opts.lua b/lua/core/opts.lua
index 5f491e1..d08bc0c 100644
--- a/lua/core/opts.lua
+++ b/lua/core/opts.lua
@@ -17,6 +17,7 @@ o.scrolloff = 5 -- # lines below/above cursor
o.showmode = false -- stop vim from showing mode
o.cmdheight = 2 -- vim command height
o.mouse = "" -- no mouse
+o.laststatus = 3 -- global statusline
o.wrap = true -- wrap lines
o.linebreak = true -- fix where line is wraped
@@ -37,10 +38,13 @@ o.termguicolors = true
cmd('colorscheme jellybeans-nvim')
-- diagnostics
-vim.diagnostic.config({
- underline = true,
- virtual_text = { prefix = '*', },
-})
+vim.lsp.handlers["textDocument/publishDiagnostics"] =
+ vim.lsp.with(
+ vim.lsp.diagnostic.on_publish_diagnostics,
+ {
+ virtual_text = { prefix = '*' },
+ }
+)
colors = {
black = '#000000',
@@ -126,6 +130,13 @@ a.nvim_set_hl(0, "DiagnosticVirtualTextWarn", { fg = "#E9AD5A", bg = "#533221" }
a.nvim_set_hl(0, "DiagnosticVirtualTextError",
{ fg = "#ED3B44", bg = "#4b1313" })
+-- alpha start page 4chan edition
+a.nvim_set_hl(0, "AlphaHeader", {fg = "#789922" })
+a.nvim_set_hl(0, "AlphaEmphasis", {fg = "#DD0000" })
+
+-- murmur (word highlights)
+a.nvim_set_hl(0, "murmur_cursor_rgb", { bg = colors.grey2 })
+
-- cmp/treesitter stuff
a.nvim_set_hl(0, "CmpItemMenu", { fg = colors.purple, italic = true })
@@ -139,6 +150,7 @@ a.nvim_set_hl(0, "CmpItemKindKeyword", { bg = "#FF339C", bold = true })
a.nvim_set_hl(0, "CmpItemKindProperty", { bg = "#4FBF63", bold = true })
a.nvim_set_hl(0, "CmpItemKindInterface", { bg = "#1e90ff", bold = true })
a.nvim_set_hl(0, "CmpItemKindClass", { bg = "#4D4C5C", bold = true })
+a.nvim_set_hl(0, "CmpItemKindFile", { bg = "#E8D01C", bold = true })
a.nvim_set_hl(0, "TreesitterContext", { bg = colors.grey })