mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
Neovide config
This commit is contained in:
parent
8d11026e44
commit
7a3c86f0f4
@ -4,6 +4,9 @@ local indent = 2
|
|||||||
|
|
||||||
vim.opt.updatetime = 100
|
vim.opt.updatetime = 100
|
||||||
|
|
||||||
|
-- Local project config
|
||||||
|
vim.opt.exrc = true
|
||||||
|
|
||||||
-- Tabstops
|
-- Tabstops
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
vim.opt.shiftwidth = indent
|
vim.opt.shiftwidth = indent
|
||||||
@ -14,9 +17,20 @@ vim.opt.tabstop = indent
|
|||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
|
|
||||||
-- Line width
|
-- Line width
|
||||||
vim.opt.textwidth = 120
|
local colorcolumns = {}
|
||||||
vim.opt.colorcolumn = "+1"
|
for i = 1, 40 do
|
||||||
|
table.insert(colorcolumns, string.format("+%i", i))
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.opt.textwidth = 80
|
||||||
|
vim.opt.colorcolumn = table.concat(colorcolumns, ",")
|
||||||
|
|
||||||
-- Open new split panes to the right and bottom, which feels more natural
|
-- Open new split panes to the right and bottom, which feels more natural
|
||||||
vim.opt.splitbelow = true
|
vim.opt.splitbelow = true
|
||||||
vim.opt.splitright = true
|
vim.opt.splitright = true
|
||||||
|
|
||||||
|
-- Neovide
|
||||||
|
if vim.g.neovide then
|
||||||
|
vim.g.neovide_cursor_animation_length = 0
|
||||||
|
vim.g.neovide_background_color = "#20252c"
|
||||||
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user