Something went wrong. Try again.
Modular Neovim configuration for software development and note taking on Linux, based on Kickstart.nvim. nvim-config.liberacode.dev
Something went wrong. Try again.
nvim-config init.lua
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950vim.g.mapleader = ' 'vim.g.maplocalleader = ' '
require 'custom.options'
vim.cmd.colorscheme 'liberacode'
require 'custom.filetypes'require 'custom.keymaps'require 'custom.autocmds'
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'if not (vim.uv or vim.loop).fs_stat(lazypath) then local lazyrepo = 'https://github.com/folke/lazy.nvim.git' local out = vim.fn.system { 'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath }
if vim.v.shell_error ~= 0 then error('Error cloning lazy.nvim:\n' .. out) endend
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({ { import = 'custom.plugins' },}, { rocks = { enabled = false, }, ui = { icons = vim.g.have_nerd_font and {} or { cmd = '⌘', config = '🛠', event = '📅', ft = '📂', init = '⚙', keys = '🗝', plugin = '🔌', runtime = '💻', require = '🌙', source = '📄', start = '🚀', task = '📌', lazy = '💤 ', }, },})
require 'custom.commands'