-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
46 lines (35 loc) · 1.22 KB
/
init.lua
File metadata and controls
46 lines (35 loc) · 1.22 KB
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
41
42
43
44
45
require("plugins-setup")
-- lazy requires that you do this before loading lazy
vim.g.mapleader = " "
require("lazy").setup("plugins")
require("cyberdream").setup({
variant="dark",
transparent=true,
})
vim.cmd [[colorscheme cyberdream]]
vim.api.nvim_create_autocmd('VimEnter', {
callback = function()
vim.cmd("NvimTreeToggle")
end,
})
vim.diagnostic.config({
virtual_text = {
prefix = "●", -- or "■", "▎", whatever you like
spacing = 2,
},
signs = true, -- enable gutter signs
underline = true, -- underline code with issues
update_in_insert = false, -- don’t update while typing
severity_sort = true, -- show errors before warnings, etc.
-- 2) Floating window options
float = {
border = "rounded", -- "single" | "double" | "rounded" | "shadow" | "none"
source = "always", -- show the `tsserver`/`pyright` source in the float
header = "", -- you can add a custom header line
prefix = "» ", -- prefix each diagnostic line
focusable = false, -- don’t steal focus when opening
max_width = 60, -- wrap lines after this width
},
})
require("core.options")
require("core.keymaps")