fix: enable neovim node host to fix tailwind-tools.nvim

This commit is contained in:
Youwen Wu 2025-01-11 01:05:35 -08:00
parent e1d106b0b3
commit 0bb33bf587
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 6 additions and 0 deletions

View file

@ -88,6 +88,8 @@
marksman marksman
libnotify libnotify
neovim-node-client
nodejs
]; ];
}; };
@ -217,6 +219,7 @@
websocat = "${pkgs.websocat}/bin/websocat"; websocat = "${pkgs.websocat}/bin/websocat";
tinymist = "${pkgs.tinymist}/bin/tinymist"; tinymist = "${pkgs.tinymist}/bin/tinymist";
texpresso = "${pkgs.texpresso}/bin/texpresso"; texpresso = "${pkgs.texpresso}/bin/texpresso";
neovim-node-host = "${pkgs.neovim-node-client}/bin/neovim-node-host";
}; };
nixdExtras = { nixdExtras = {
nixpkgs = inputs.nixpkgs.outPath; nixpkgs = inputs.nixpkgs.outPath;

View file

@ -35,6 +35,9 @@ vim.opt.scrolloff = 10
vim.cmd.colorscheme("oxocarbon") 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({ require("nvim-treesitter.configs").setup({
ensure_installed = {}, ensure_installed = {},
sync_install = false, sync_install = false,