lua/conf files - Consolidate Python dev stack: Add `postgresql`/`pgcli`, `httpie`/`bruno`, and `ruff`/`mypy` to the environment - Centralize Neovim logic: Move all configuration (`init.lua`, `lsp.lua`, `catppuccin.lua`) to standalone files and load them via `builtins.readFile`. - Externalize Tmux configuration: Migrate the monolithic `extraConfig` to an external `modules/user/config/tmux.conf` file. - Configure Zed and Neovim to use `ruff` as the primary Python formatter and `pyright` for static analysis. Rationale: Embeded scripts as strings lack of proper language-specific syntax highlighting, and makes the configuration harder to read and understand. Eliminating hardcoded configuration in Nix improves readability, enables proper syntax highlighting for Lua/Conf files, and standardizes development tooling across all environments.
9 lines
505 B
Lua
9 lines
505 B
Lua
vim.opt.number = true -- Show line numbers
|
|
vim.opt.relativenumber = true -- Relative line numbers for easier navigation jumps
|
|
vim.opt.shiftwidth = 2 -- 2-space indents
|
|
vim.opt.tabstop = 2 -- Tab spacing
|
|
vim.opt.expandtab = true -- Convert tabs to spaces
|
|
vim.opt.smartindent = true -- Intelligent auto-indenting based on file syntax
|
|
vim.opt.wrap = false -- Disable automatic line wrapping
|
|
vim.opt.termguicolors = true -- Enable 24-bit RGB terminal colors
|