Moved neovim config to its own repo

This commit is contained in:
2025-01-22 13:05:14 +00:00
commit fe15b33bff
16 changed files with 1469 additions and 0 deletions

31
init.lua Normal file
View File

@@ -0,0 +1,31 @@
-- Enable experimental fast lua module loader
vim.loader.enable()
require("config")
require("keybindings")
-- Then, i want to load lazy as my plugin manager and have it load my plugins
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)
require("lazy").setup("plugins", opts)
-- Next, set up custom LSPs
local lspconfig = require("lspconfig")
lspconfig.nushell.setup({})
lspconfig.prolog_ls.setup({ root_dir = lspconfig.util.root_pattern(".git") })
lspconfig.nixd.setup({})
lspconfig.mojo.setup({})
require("nvim-web-devicons").refresh() -- This fixes screwiness with the devicon colors