diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-02-24 12:08:53 -0500 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-02-24 12:08:53 -0500 |
| commit | c867dd3ea21816e69de08088385d0d9246433765 (patch) | |
| tree | c8f0c6e3d81d758e6b77fdbdc7875daa436eac61 /modules/nvim/default.nix | |
| parent | 1ae82800c18ee751fc6f274c19fff9fc2fd84d47 (diff) | |
| download | home-c867dd3ea21816e69de08088385d0d9246433765.tar.gz | |
fixed nixGL wrapper
Diffstat (limited to 'modules/nvim/default.nix')
| -rw-r--r-- | modules/nvim/default.nix | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/modules/nvim/default.nix b/modules/nvim/default.nix deleted file mode 100644 index 54f9d53..0000000 --- a/modules/nvim/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ config, lib, pkgs, ...}: -let - cfg = config.modules.nvim; - lua = str: "lua << EOF\n${str}\nEOF\n"; - luaImport = file: "lua << EOF\n${builtins.readFile file}\nEOF\n"; -in -{ - options.modules.nvim = { - }; - - config = { - programs.neovim = { - enable = true; - defaultEditor = true; - viAlias = true; - vimAlias = true; - vimdiffAlias = true; - plugins = with pkgs.vimPlugins; [ - { - plugin = nvim-lspconfig; - config = let - servers = [ - { name = "clangd"; } - ]; - in lua(pkgs.lib.strings.concatStrings (pkgs.lib.lists.forEach servers (s: "require('lspconfig')['${s.name}'].setup(${s.config or "{}"})\n"))); - } - - (nvim-treesitter.withPlugins (p: with p; [ - tree-sitter-nix - tree-sitter-c - tree-sitter-lua - tree-sitter-zig - tree-sitter-markdown - tree-sitter-markdown-inline - ])) - - base16-nvim - telescope-nvim - telescope-fzf-native-nvim - ]; - extraLuaConfig = '' - ${builtins.readFile ./settings.lua} - ${builtins.readFile ./keybinds.lua} - ''; - }; - }; -} |