Set up LSP, completion, etc; adjust a few other small settings

This commit is contained in:
2025-08-20 11:09:42 -05:00
parent 424e2be8ee
commit fd4a95bc36
14 changed files with 231 additions and 48 deletions

View File

@@ -0,0 +1,29 @@
-- TODO: maybe switch this over from git-clone approach to neovim's builtin vim.pack.add
local path_lazy_nvim = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(path_lazy_nvim) then
local git_output = vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
path_lazy_nvim,
})
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo(
{ { "Failed to clone lazy.nvim:\n" }, { git_output }, },
true,
{}
)
vim.fn.getchar()
end
end
vim.opt.rtp:prepend(path_lazy_nvim)
require("lazy").setup({
spec = {
{ import = "david_standard.plugins_lazy" },
},
checker = { enabled = false },
change_detection = { notify = false },
})