-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
40 lines (34 loc) · 988 Bytes
/
init.lua
File metadata and controls
40 lines (34 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
vim.opt.clipboard = "unnamedplus"
vim.diagnostic.config({
virtual_text = true,
signs = true,
underline = true,
update_in_insert = false,
severity_sort = true,
})
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
end
require("config.lazy")
vim.o.background = 'dark'
local c = require('vscode.colors').get_colors()
require('vscode').setup({
transparent = true,
italic_comments = true,
underline_links = true,
disable_nvimtree_bg = true,
terminal_colors = true,
color_overrides = {
vscLineNumber = '#FFFFFF',
},
group_overrides = {
Cursor = { fg=c.vscDarkBlue, bg=c.vscLightGreen, bold=true },
}
})
vim.cmd.colorscheme "vscode"
--vim.cmd.colorscheme "catppuccin"
--vim.cmd[[colorscheme tokyonight-storm]]