This commit is contained in:
parent
2c0c45a26c
commit
1c26cf64e7
38
nvim.nix
38
nvim.nix
|
@ -1,38 +0,0 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(neovim.override {
|
||||
configure = {
|
||||
customRC = ''
|
||||
command! -nargs=0 Prettier :CocCommand prettier.forceFormatDocument
|
||||
syntax on
|
||||
set mouse=a
|
||||
filetype plugin indent on
|
||||
let g:rustfmt_autosave = 1
|
||||
|
||||
'';
|
||||
packages.myVimPackage = with pkgs.vimPlugins; {
|
||||
start = [
|
||||
coc-nvim
|
||||
coc-prettier
|
||||
coc-texlab
|
||||
coc-rust-analyzer
|
||||
coc-html
|
||||
|
||||
rust-vim
|
||||
vimwiki
|
||||
vim-nix
|
||||
];
|
||||
opt = [ ];
|
||||
};
|
||||
};
|
||||
}
|
||||
)];
|
||||
|
||||
}
|
Loading…
Reference in New Issue