Files
nvim/init.lua

23 lines
667 B
Lua

vim.loader.enable()
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
if vim.g.neovide then
vim.o.guifont = "CaskaydiaCove Nerd Font:h12"
vim.g.neovide_cursor_animation_length = 0
vim.g.neovide_show_border = true -- macOS only
end
-- load config from lua/local.lua if present
pcall(function() require('local') end)
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not vim.uv.fs_stat(lazypath) then
vim.fn.system({ 'git', 'clone', '--filter=blob:none',
'https://github.com/folke/lazy.nvim.git', '--branch=stable', lazypath })
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup('plugins', { change_detection = { enabled = false } })