diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-04-12 19:44:37 +0200 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-04-12 19:44:37 +0200 |
| commit | f65944871a9153a78f27b9d1a62bc77023067c22 (patch) | |
| tree | 9accc863ef879d2e07856ff1c5c70f43efac1908 /home-manager/modules/apps/nvim | |
| parent | da360f298b3cf19525d7ab5c12fb75b9d18161c7 (diff) | |
wine
Diffstat (limited to 'home-manager/modules/apps/nvim')
| -rw-r--r-- | home-manager/modules/apps/nvim/default.nix | 52 |
1 files changed, 5 insertions, 47 deletions
diff --git a/home-manager/modules/apps/nvim/default.nix b/home-manager/modules/apps/nvim/default.nix index 366cdf0..ebba423 100644 --- a/home-manager/modules/apps/nvim/default.nix +++ b/home-manager/modules/apps/nvim/default.nix @@ -1,53 +1,18 @@ { pkgs, config, ...}: -let - treesitterWithGrammars = (pkgs.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; defaultEditor = true; viAlias = true; vimAlias = true; - # vimdiffAlias = true; - # # withPython3 = false; - # # withNodeJs = false; - # # withRuby = false; - # + vimdiffAlias = true; + withPython3 = true; + withNodeJs = true; + withRuby = true; + coc.enable = false; # plugins = [ - treesitterWithGrammars ]; }; @@ -55,7 +20,6 @@ in require("wilkuu.set") require("wilkuu.remap") ''; - #vim.opt.runtimepath:append("${treesitter-parsers}") home.file."./.config/nvim/lua/wilkuu/nix.lua".text = '' return { @@ -63,12 +27,6 @@ in } ''; - - # home.file."./.local/share/nvim/nix/nvim-treesitter/" = { - # source = treesitterWithGrammars; - # recursive = true; - # }; - home.sessionPath = [ "/home/wilkuu/.npm/bin/" ]; |
