diff --git a/flake.nix b/flake.nix index cb056ab..1d0a7d7 100644 --- a/flake.nix +++ b/flake.nix @@ -88,6 +88,8 @@ marksman libnotify + neovim-node-client + nodejs ]; }; @@ -217,6 +219,7 @@ websocat = "${pkgs.websocat}/bin/websocat"; tinymist = "${pkgs.tinymist}/bin/tinymist"; texpresso = "${pkgs.texpresso}/bin/texpresso"; + neovim-node-host = "${pkgs.neovim-node-client}/bin/neovim-node-host"; }; nixdExtras = { nixpkgs = inputs.nixpkgs.outPath; diff --git a/init.lua b/init.lua index c07e843..34549c0 100644 --- a/init.lua +++ b/init.lua @@ -35,6 +35,9 @@ vim.opt.scrolloff = 10 vim.cmd.colorscheme("oxocarbon") +vim.g.node_host_prog = nixCats("bin.neovim-node-host") +vim.g.loaded_node_provider = nil + require("nvim-treesitter.configs").setup({ ensure_installed = {}, sync_install = false,