Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
neovimconfig
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
codecraft
neovimconfig
Commits
95ffb7e7
Commit
95ffb7e7
authored
1 year ago
by
codecraft
Browse files
Options
Downloads
Patches
Plain Diff
set neovide animation length to 0.1
parent
aea591c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lua/codecraft/core/neovide.lua
+10
-10
10 additions, 10 deletions
lua/codecraft/core/neovide.lua
with
10 additions
and
10 deletions
lua/codecraft/core/neovide.lua
+
10
−
10
View file @
95ffb7e7
if
vim
.
g
.
neovide
then
-- Put anything you want to happen only in Neovide here
-- Put anything you want to happen only in Neovide here
vim
.
o
.
guifont
=
"JetBrainsMono Nerd Font:h13:b"
-- Helper function for transparency formatting
local
alpha
=
function
()
return
string.format
(
"%x"
,
math.floor
(
255
*
vim
.
g
.
transparency
or
0
.
8
))
end
-- g:neovide_transparency should be 0 if you want to unify transparency of content and title bar.
vim
.
g
.
neovide_transparency
=
0
.
75
vim
.
g
.
transparency
=
0
.
4
vim
.
g
.
neovide_background_color
=
"#0f1117"
..
alpha
()
local
alpha
=
function
()
return
string.format
(
"%x"
,
math.floor
(
255
*
vim
.
g
.
transparency
or
0
.
8
))
end
-- g:neovide_transparency should be 0 if you want to unify transparency of content and title bar.
vim
.
g
.
neovide_transparency
=
0
.
75
vim
.
g
.
transparency
=
0
.
4
vim
.
g
.
neovide_background_color
=
"#0f1117"
..
alpha
()
vim
.
g
.
neovide_floating_blur_amount_x
=
2
.
0
vim
.
g
.
neovide_floating_blur_amount_y
=
2
.
0
vim
.
g
.
neovide_cursor_animation_length
=
0
vim
.
g
.
neovide_floating_blur_amount_y
=
2
.
0
vim
.
g
.
neovide_cursor_animation_length
=
0
.
1
vim
.
g
.
neovide_cursor_antialiasing
=
true
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment