nixos-config/config/programs/vim/default.nix

32 lines
578 B
Nix
Raw Normal View History

2022-06-12 19:29:42 +00:00
{ pkgs, ... }:
let
dsquotes = "''";
in
{
programs.neovim = {
enable = true;
extraPackages = with pkgs; [
universal-ctags
rust-analyzer
];
extraConfig = ''
lua require("base")
'';
plugins = with pkgs.vimPlugins; [
nerdtree
nerdtree-git-plugin
vim-devicons
ctrlp-vim
vim-nix
tagbar
vim-airline
copilot-vim
rust-vim # for proper syntax highlighting
tabline-nvim
nvim-lspconfig
2022-06-12 19:59:53 +00:00
vim-gitgutter
2022-06-12 19:29:42 +00:00
];
};
xdg.configFile."nvim/lua/base.lua".source = ./base.lua;
}