summaryrefslogtreecommitdiffstats
path: root/nvim/lua/ui/#general.lua#
blob: 434b45fb05cc8a79b9b72416b31c6b5b046f18f2 (plain) (blame)
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
46
47
48
49
50
51
52
53
54
o.guifont = "comic mono:h12"

if vim.g.neovide then
    opt.guicursor = "n-v-c:block-Cursor,i-ci:vline10-Cursor-blinkon100,r-cr:hor20-Cursor"

    g.neovide_theme        = "dark"
    g.neovide_scale_factor = 1
    g.neovide_opacity      = 1

    g.neovide_padding_top    = 0
    g.neovide_padding_bottom = 0
    g.neovide_padding_right  = 0
    g.neovide_padding_left   = 0

    -- No visual bloat
    g.neovide_floating_blur_amount_x = 0.0
    g.neovide_floating_blur_amount_y = 0.0
    g.neovide_floating_z_height      = 0.0
    g.neovide_floating_shadow        = false
    g.neovide_light_angle_degrees    = 0
    g.neovide_light_radius           = 0
    g.neovide_window_blurred         = false

    g.neovide_refresh_rate      = 60
    g.neovide_refresh_rate_idle = 60
    g.neovide_no_idle           = false

    -- Animations tuned for 60hz (1 frame = ~16ms)
    g.neovide_cursor_animation_length    = 0.08   
    g.neovide_position_animation_length  = 0.0
    g.neovide_scroll_animation_length    = 0.1    
    g.neovide_scroll_animation_far_lines = 1

    g.neovide_cursor_trail_size           = 20
    g.neovide_underline_stroke_scale      = 1
    g.neovide_cursor_animate_in_insert_mode  = true
    g.neovide_cursor_animate_command_line    = false
    g.neovide_cursor_smooth_blink            = false
    g.neovide_cursor_unfocused_outline_width = 0
    g.neovide_cursor_antialiasing            = false

    g.neovide_cursor_vfx_mode             = ""
    g.neovide_cursor_vfx_opacity          = 0
    g.neovide_cursor_vfx_particle_density = 0
    g.neovide_cursor_vfx_particle_lifetime = 0

    g.neovide_progress_bar_enabled         = true
    g.neovide_progress_bar_height          = 5.0
    g.neovide_progress_bar_animation_speed = 200.0
    g.neovide_progress_bar_hide_delay      = 0.2

    g.neovide_input_use_logo       = false
    g.neovide_hide_mouse_when_typing = true
end