mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
nvim: adding neovide config
This commit is contained in:
parent
d20b270825
commit
32711d0db2
2 changed files with 31 additions and 0 deletions
26
nvim/lua/user/neovide.lua
Normal file
26
nvim/lua/user/neovide.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
-------------------------------------------------------
|
||||
-- Neovide specific settings
|
||||
-------------------------------------------------------
|
||||
|
||||
vim.g.neovide_refresh_rate = 120
|
||||
vim.g.neovide_transparency = 0.97
|
||||
vim.g.neovide_normal_opacity = 0.97
|
||||
vim.opt.guifont="IosevkaCustom Nerd Font:h16"
|
||||
vim.opt.linespace = 8
|
||||
|
||||
vim.g.neovide_cursor_animation_length = 0
|
||||
vim.g.neovide_cursor_trail_size = 0
|
||||
|
||||
-- vim.g.neovide_floating_corner_radius = 0.1
|
||||
vim.g.neovide_floating_shadow = true
|
||||
vim.g.neovide_flatten_floating_zindex = "20,21,22,23,35,31,51,52,152,230,1002,1003"
|
||||
vim.g.neovide_floating_z_height = 5
|
||||
vim.g.neovide_light_angle_degrees = 30
|
||||
|
||||
-- blur for floting windows
|
||||
vim.g.neovide_floating_blur_amount_x = 0.0
|
||||
vim.g.neovide_floating_blur_amount_y = 0.0
|
||||
|
||||
vim.g.neovide_scroll_animation_far_lines = 99999
|
||||
vim.g.neovide_scroll_animation_length = 0.05
|
||||
|
|
@ -110,10 +110,15 @@ vim.diagnostic.config({
|
|||
-- Provide a custom hover implementation
|
||||
vim.lsp.buf.hover = require("user.utils.lsp").hover
|
||||
|
||||
|
||||
-------------------------------------------------------
|
||||
-- Extras
|
||||
-------------------------------------------------------
|
||||
|
||||
if vim.g.neovide then
|
||||
require('user.neovide')
|
||||
end
|
||||
|
||||
user = {} ---@diagnostic disable-line: lowercase-global
|
||||
|
||||
---@type HighlightYankConfig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue