mirror of
https://github.com/Hydroxycarbamide/astrovim_user.git
synced 2025-05-04 20:29:08 -04:00
Update
This commit is contained in:
parent
473ad7436c
commit
70a59dda08
4 changed files with 64 additions and 40 deletions
27
lua/plugins/neovide.lua
Normal file
27
lua/plugins/neovide.lua
Normal file
|
@ -0,0 +1,27 @@
|
|||
if not vim.g.neovide then
|
||||
return {} -- do nothing if not in a Neovide session
|
||||
end
|
||||
|
||||
return {
|
||||
"AstroNvim/astrocore",
|
||||
---@type AstroCoreOpts
|
||||
opts = {
|
||||
options = {
|
||||
opt = { -- configure vim.opt options
|
||||
-- configure font
|
||||
-- guifont = "Source Code Pro:h14",
|
||||
-- line spacing
|
||||
linespace = 0,
|
||||
},
|
||||
g = { -- configure vim.g variables
|
||||
-- configure scaling
|
||||
neovide_scale_factor = 1.0,
|
||||
-- configure padding
|
||||
neovide_padding_top = 20,
|
||||
neovide_padding_bottom = 20,
|
||||
neovide_padding_right = 20,
|
||||
neovide_padding_left = 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -2,6 +2,9 @@
|
|||
-- Here are some examples:
|
||||
|
||||
---@type LazySpec
|
||||
|
||||
vim.keymap.set("i", "jk", "<esc>")
|
||||
|
||||
return {
|
||||
|
||||
-- == Examples of Adding Plugins ==
|
||||
|
@ -85,4 +88,9 @@ return {
|
|||
-- "Exafunction/codeium.vim",
|
||||
-- event = "BufEnter",
|
||||
-- },
|
||||
{
|
||||
"Wansmer/symbol-usage.nvim",
|
||||
event = "BufReadPre", -- need run before LspAttach if you use nvim 0.9. On 0.10 use 'LspAttach'
|
||||
config = function() require("symbol-usage").setup() end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue