mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2026-06-15 00:25:39 +00:00
mostly small changes to move to a module based strucutre such that you can add more hosts at a later date
40 lines
952 B
Nix
40 lines
952 B
Nix
{ self, pkgs, ... }:
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
package = pkgs.neovim-unwrapped;
|
|
|
|
extraConfig = ''source ~/.dotfiles/nvim/init.vim"source ${self}/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;
|
|
};
|
|
rescript = {
|
|
enable = true;
|
|
command = "rescript-language-server";
|
|
args = [ "--node-ipc" ];
|
|
filetypes = [ "rescript" ];
|
|
rootPatterns = [
|
|
"rescript.json"
|
|
"bsconfig.json"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|