feat: effectively finish nvf as ide #10

This commit is contained in:
Mohammad Rafiq 2025-03-13 23:51:47 +08:00
parent ab4113b74d
commit 3f82161bae
16 changed files with 564 additions and 53 deletions

View file

@ -1,8 +1,13 @@
{
{pkgs, ...}: {
home.packages = [pkgs.nixd];
programs.nvf.settings.vim.languages.nix = {
enable = true;
lsp = {
server = "nixd";
};
# lsp = {
# server = "nixd";
# options = {
# nixpkgs.expr = ''(builtins.getFlake ("git+file://" + toString ./.)).inputs.nixpkgs'';
# options.nixos.expr = ''(builtins.getFlake ("git+file://" + toString ./.)).nixosConfigurations.${builtins.getEnv "HOSTNAME"}.options'';
# };
# };
};
}