Skip to content

Nixvim refactor - #31

Merged
GDR merged 10 commits into
masterfrom
nixvim-refactor
Jul 5, 2026
Merged

Nixvim refactor#31
GDR merged 10 commits into
masterfrom
nixvim-refactor

Conversation

@GDR

@GDR GDR commented Jul 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

GDR added 10 commits July 4, 2026 20:54
- Remove nixvim flake input, add nix-wrapper-modules
- Remove nixvim NixOS/Darwin modules from flakeHelpers.nix
- Strip neovim.nix of all nixvim references (placeholder for Phase 2)
- Update flake.lock
- Rewrite neovim.nix to build wrapped neovim via wlib.wrappers.neovim.wrap
- Create dotfiles/plugins.nix with plugin specs organized by category:
  ui (tokyonight, lualine, bufferline, noice, snacks, which-key, etc.)
  editor (neo-tree, telescope, gitsigns, trouble, flash, etc.)
  coding (treesitter, lspconfig, blink-cmp, conform, nvim-lint, mini)
  deps (plenary)
- Add runtimePkgs: LSP servers for C/C++, Python, Nix, Bash, Lua, Rust, Go, TS
- Add formatters (stylua, nixpkgs-fmt, black, gofumpt, prettier)
- Add linters (shellcheck) and tools (ripgrep, fd)
- Symlink dotfiles/nvim → ~/.config/nvim via mkDotfilesSymlink
- Create placeholder init.lua for Phase 3
Organized into folders as requested:
  config/   — options, keymaps, autocmds
  plugins/
    ui/        — tokyonight, lualine, bufferline, noice, snacks, which-key
    editor/    — neo-tree, telescope, gitsigns, flash, trouble, todo-comments
    coding/    — treesitter, blink-cmp completion, mini.nvim
    lsp/       — lspconfig for clangd, pyright, nil, bashls, lua_ls,
                 rust_analyzer, gopls, ts_ls
    formatting/ — conform.nvim (stylua, nixpkgs-fmt, black, gofumpt, prettier,
                  clang-format, rustfmt, shfmt)
    linting/   — nvim-lint (shellcheck)
    lang/      — placeholder for language-specific configs
    ai/        — placeholder for AI integrations
- treesitter: use built-in vim.treesitter.start() instead of removed
  nvim-treesitter.configs module
- lsp: migrate from deprecated require('lspconfig') to native
  vim.lsp.config/vim.lsp.enable API
- options: remove unsupported fold fillchars
- Add wl-clipboard to runtimePkgs for Wayland clipboard support
- Position noice cmdline popup at 75% from top (1/4 from bottom)
- gitsigns: enable current_line_blame by default, add toggle <leader>ghB
- keymaps: use Snacks.bufdelete for <leader>bd (doesn't quit editor)
- keymaps: add <leader>R to reload config without restarting
- neo-tree: set fixed 30-char sidebar width
- Auto-save session on exit (closes neo-tree first)
- Auto-restore session on startup (nvim or nvim .)
- Closes dashboard/directory buffers before restoring
- Manual save/restore: <leader>qs / <leader>qr
- Sessions stored in ~/.local/share/nvim/sessions/
- Use fresh 'import inputs.nixpkgs' instead of NixOS module pkgs
  for nix-wrapper-modules .wrap call (fixes lib.types.pkgs check)
- Remove redundant settings.config_directory (already the default)
- Make window split borders brighter for contrast
@GDR
GDR merged commit a72100c into master Jul 5, 2026
2 checks passed
@GDR
GDR deleted the nixvim-refactor branch July 5, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant