From b77d257027d056783e32920cb1085b27548301b8 Mon Sep 17 00:00:00 2001 From: Michel Date: Tue, 17 Oct 2023 13:47:23 +0200 Subject: [PATCH] feat(nodejs): update to 20.8.1 --- .tool-versions | 4 +++- init.lua | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.tool-versions b/.tool-versions index 14ce6d7..b5013bf 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,5 @@ direnv 2.32.3 -nodejs 20.5.1 +# NOTE: Path to nodejs is hardcoded in init.lua +nodejs 20.8.1 +# TODO: Don't use version matching system python 3.11.4 diff --git a/init.lua b/init.lua index 36c84fb..20bd6f8 100644 --- a/init.lua +++ b/init.lua @@ -3,7 +3,7 @@ -- Use Node from ASDF -- TODO: Use neovim config -vim.env.PATH = vim.env.HOME .. "/.asdf/installs/nodejs/20.5.1/bin/" .. ":" .. vim.env.PATH +vim.env.PATH = vim.env.HOME .. "/.asdf/installs/nodejs/20.8.1/bin/" .. ":" .. vim.env.PATH -- Use Python from neoovim "config" folder local python_root = vim.fn.glob(vim.fn.stdpath("config") .. "/.direnv/python*", true, true)[1]