Fixed ocaml in home manager packages, adding the standard distribution of packages as per https://ocaml.org/install Enabled lazy vim
33 lines
705 B
Lua
33 lines
705 B
Lua
-- Options
|
|
--- ui
|
|
vim.opt.number = true
|
|
vim.opt.syntax = 'on'
|
|
vim.opt.smartcase = true
|
|
|
|
--- clipboard
|
|
vim.opt.clipboard = 'unnamedplus'
|
|
|
|
-- Enable lazy.vim
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
vim.fn.system({
|
|
"git",
|
|
"clone",
|
|
"--filter=blob:none",
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
"--branch=stable", -- latest stable release
|
|
lazypath,
|
|
})
|
|
end
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
vim.g.mapleader = " " -- Make sure to set `mapleader` before lazy so your mappings are correct
|
|
|
|
plugins = {
|
|
"folke/which-key.nvim",
|
|
{ "folke/neoconf.nvim", cmd = "Neoconf" },
|
|
"folke/neodev.nvim",
|
|
}
|
|
|
|
require("lazy").setup(plugins)
|