From e8af44278a56680097e7e48b85824927a3054cf9 Mon Sep 17 00:00:00 2001 From: Pkoenig2 Date: Thu, 18 Jun 2026 17:57:29 -0700 Subject: [PATCH] Updating underlying problems added zig language, but added neovim keybindings. This goes with the addition of a .luarc.json to remove the root dir pull and scan. --- init.lua | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 4a64cf5b..7e4772b9 100644 --- a/init.lua +++ b/init.lua @@ -279,8 +279,18 @@ do -- In this section we set up some autocommands to run build -- steps for certain plugins after they are installed or updated. + vim.pack.add({ + { src = "https://github.com/folke/lazydev.nvim" }, + }) + + require('lazydev').setup({ + library = { + { path = "${3rd}/luv/library", words = { "vim%.uv" } }, + }, + }) local function run_build(name, cmd, cwd) - local result = vim.system(cmd, { cwd = cwd }):wait() + + local result = vim.system(cmd, { cwd = cwd }):wait() if result.code ~= 0 then local stderr = result.stderr or '' local stdout = result.stdout or '' @@ -1008,9 +1018,9 @@ do -- NOTE: You can also specify a branch or a specific commit vim.pack.add { { src = gh 'nvim-treesitter/nvim-treesitter', version = 'main' } } - + require('nvim-treesitter.install').compilers = { 'zig' } -- Ensure basic parsers are installed - local parsers = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'python' } + local parsers = {'zig', 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'python' } require('nvim-treesitter').install(parsers) ---@param buf integer