-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
42 lines (32 loc) · 1.28 KB
/
init.lua
File metadata and controls
42 lines (32 loc) · 1.28 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
vim.loader.enable()
vim.pack.add {
'https://github.com/nickkadutskyi/jb.nvim',
'https://github.com/nvim-lualine/lualine.nvim',
-- icons (required by neo-tree, lualine, telescope, render-markdown)
'https://github.com/nvim-tree/nvim-web-devicons',
-- neo-tree
'https://github.com/nvim-neo-tree/neo-tree.nvim',
'https://github.com/nvim-lua/plenary.nvim',
'https://github.com/MunifTanjim/nui.nvim',
-- fuzzy finder
'https://github.com/nvim-telescope/telescope.nvim',
-- markdown in-editor preview (renders tables, bold, links, checkboxes)
'https://github.com/MeanderingProgrammer/render-markdown.nvim',
--dashbboard
'https://github.com/goolord/alpha-nvim',
}
require("user.main") -- require("config") would search for lua/config/init.lua
if vim.g.neovide then
vim.g.neovide_font_features = "-calt, -liga, -dlig, -clig"
local os_name = vim.uv.os_uname().sysname
if os_name == "Darwin" then
vim.o.guifont = "JetBrainsMonoNL Nerd Font Mono:h16"
elseif os_name == "Windows_NT" then
vim.o.guifont = "JetBrainsMonoNL Nerd Font Mono:h12"
else
vim.o.guifont = "JetBrainsMonoNL Nerd Font Mono:h12"
end
vim.g.neovide_cursor_vfx_mode = "railgun"
-- transparent bg
vim.g.neovide_opacityq = 0.85
end