mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
31 lines
630 B
Nix
31 lines
630 B
Nix
{ pkgs, dotfiles, ... }:
|
|
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
package = pkgs.neovim-unwrapped;
|
|
|
|
extraConfig = "source ${dotfiles}/nvim/init.vim";
|
|
|
|
coc = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
languageserver = {
|
|
nix = {
|
|
command = "nil";
|
|
filetypes = [ "nix" ];
|
|
rootPatterns = [ "flake.nix" ];
|
|
"settings.nil" = {
|
|
"formatting.command" = ["nixpkgs-fmt"];
|
|
};
|
|
};
|
|
"go.goPlsOptions" = {
|
|
completion = true;
|
|
completeUnimported = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|