-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
30 lines (26 loc) · 1.08 KB
/
init.lua
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
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")
vim.cmd("colorscheme kanagawa-wave")
-- require("lspconfig").astro.setup({})
vim.filetype.add({
extension = {
mdx = "mdx",
},
})
vim.treesitter.language.register("markdown", "mdx")
if vim.g.neovide then
-- Helper function for transparency formatting
-- g:neovide_transparency should be 0 if you want to unify transparency of content and title bar.
vim.g.neovide_transparency = 0.90
vim.g.transparency = 0.90
vim.o.guifont = "SauceCodePro Nerd Font Mono:h16"
vim.g.neovide_cursor_vfx_mode = "pixiedust"
vim.g.neovide_window_blurred = true
vim.g.neovide_floating_blur_amount_x = 2
vim.g.neovide_floating_blur_amount_y = 2
vim.g.neovide_input_use_logo = 1
vim.api.nvim_set_keymap("", "<D-v>", "+p<CR>", { noremap = true, silent = false })
vim.api.nvim_set_keymap("!", "<D-v>", "<C-R>+", { noremap = true, silent = false })
vim.api.nvim_set_keymap("t", "<D-v>", "<C-R>+", { noremap = true, silent = false })
vim.api.nvim_set_keymap("v", "<D-v>", "<C-R>+", { noremap = true, silent = false })
end