summaryrefslogtreecommitdiff
path: root/home-manager/neovim.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/neovim.nix94
1 files changed, 0 insertions, 94 deletions
diff --git a/home-manager/neovim.nix b/home-manager/neovim.nix
deleted file mode 100644
index 7b1554e..0000000
--- a/home-manager/neovim.nix
+++ /dev/null
@@ -1,94 +0,0 @@
-{ pkgs, config, ...}:
-let
- unstable = import <nixos-unstable> {};
- treesitterWithGrammars = (unstable.vimPlugins.nvim-treesitter.withPlugins (p : [
- p.bash
- p.comment
- p.css
- p.dockerfile
- p.gitattributes
- p.gitignore
- p.go
- p.gomod
- p.gowork
- p.rust
- p.javascript
- p.typescript
- p.json5
- p.json
- p.lua
- p.markdown
- p.nix
- p.python
- p.java
- p.rust
- p.toml
- p.vue
- p.yaml
- p.php
- p.latex
- ]));
- treesitter-parsers = pkgs.symlinkJoin {
- name = "treesitter-parsers";
- paths = treesitterWithGrammars.dependencies;
- };
-
-in
-{
- programs.neovim = {
- enable = true;
- # package = unstable.neovim;
- defaultEditor = true;
- viAlias = true;
- vimAlias = true;
- # vimdiffAlias = true;
- # # withPython3 = false;
- # # withNodeJs = false;
- # # withRuby = false;
- #
- coc.enable = false;
- #
- plugins = [
- treesitterWithGrammars
- ];
- };
-
- home.file."./.config/nvim/lua/wilkuu/init.lua".text = ''
- require("wilkuu.set")
- require("wilkuu.remap")
- '';
- #vim.opt.runtimepath:append("${treesitter-parsers}")
-
- home.file."./.config/nvim/lua/wilkuu/nix.lua".text = ''
- return {
- vue_ts_plugin = "/home/wilkuu/.npm/@vue/typescript-plugin",
- }
- '';
-
-
- # home.file."./.local/share/nvim/nix/nvim-treesitter/" = {
- # source = treesitterWithGrammars;
- # recursive = true;
- # };
-
- home.sessionPath = [
- "/home/wilkuu/.npm/bin/"
- ];
-
- home.packages = with pkgs; [
- lua
- lua-language-server
- gopls
- go
- typescript
- nodejs_22
- rustup
- nixd
- nixfmt-rfc-style
- pyright
- nodePackages.intelephense
- texlive.combined.scheme-full
- texlab
- ];
-
-}