summaryrefslogtreecommitdiff
path: root/users/seth/programs/neovim/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/programs/neovim/default.nix')
-rw-r--r--users/seth/programs/neovim/default.nix71
1 files changed, 0 insertions, 71 deletions
diff --git a/users/seth/programs/neovim/default.nix b/users/seth/programs/neovim/default.nix
deleted file mode 100644
index 52af672..0000000
--- a/users/seth/programs/neovim/default.nix
+++ /dev/null
@@ -1,71 +0,0 @@
-{pkgs, ...}: {
- programs.neovim = {
- enable = true;
- extraPackages = with pkgs; [
- alejandra
- clang
- codespell
- deadnix
- nodePackages.alex
- nodePackages.bash-language-server
- nodePackages.prettier
- nodePackages.pyright
- pylint
- rust-analyzer
- rustfmt
- statix
- stylua
- sumneko-lua-language-server
- yapf
- ];
- plugins = with pkgs.vimPlugins; [
- barbar-nvim
- catppuccin-nvim
- cmp-nvim-lsp
- cmp-buffer
- cmp_luasnip
- cmp-path
- cmp-vsnip
- editorconfig-nvim
- gitsigns-nvim
- lightspeed-nvim
- lualine-nvim
- luasnip
- nvim-cmp
- nvim-lspconfig
- null-ls-nvim
- nvim-tree-lua
- nvim-treesitter.withAllGrammars
- nvim-web-devicons
- plenary-nvim
- telescope-nvim
- trouble-nvim
- vim-vsnip
- ];
- };
-
- xdg.configFile.nvim = {
- source = ./config;
- recursive = true;
- };
- xdg.configFile."nvim/init.lua" = {
- text = ''
- local cmd = vim.cmd
- local opt = vim.opt
- require("getchoo")
- vim.g.use_lsp_plugins = true
- -- text options
- opt.tabstop = 2
- opt.shiftwidth = 2
- opt.expandtab = false
- opt.smartindent = true
- opt.wrap = false
-
- -- appearance
- opt.syntax = "on"
- cmd("filetype plugin indent on")
- opt.termguicolors = true
- vim.api.nvim_command("colorscheme catppuccin")
- '';
- };
-}